#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'generalpref.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_GENERALPREF_H
#define UI_GENERALPREF_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_GeneralPref
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label;
    KUrlRequester *kcfg_tempDir;
    QCheckBox *kcfg_useSaveDir;
    KUrlRequester *kcfg_saveDir;
    QCheckBox *kcfg_useCompletedDir;
    KUrlRequester *kcfg_completedDir;
    QCheckBox *kcfg_useTorrentCopyDir;
    KUrlRequester *kcfg_torrentCopyDir;
    QGroupBox *groupBox_2;
    QVBoxLayout *vboxLayout1;
    QCheckBox *kcfg_showSystemTrayIcon;
    QCheckBox *kcfg_showPopups;
    QGroupBox *groupBox_3;
    QVBoxLayout *vboxLayout2;
    QCheckBox *kcfg_openMultipleTorrentsSilently;
    QCheckBox *kcfg_openAllTorrentsSilently;
    QCheckBox *kcfg_suppressSleep;
    QCheckBox *kcfg_autoRenameSingleFileTorrents;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *GeneralPref)
    {
        if (GeneralPref->objectName().isEmpty())
            GeneralPref->setObjectName(QString::fromUtf8("GeneralPref"));
        GeneralPref->resize(427, 423);
        vboxLayout = new QVBoxLayout(GeneralPref);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        groupBox = new QGroupBox(GeneralPref);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));

        gridLayout->addWidget(label, 0, 0, 1, 1);

        kcfg_tempDir = new KUrlRequester(groupBox);
        kcfg_tempDir->setObjectName(QString::fromUtf8("kcfg_tempDir"));

        gridLayout->addWidget(kcfg_tempDir, 0, 1, 1, 1);

        kcfg_useSaveDir = new QCheckBox(groupBox);
        kcfg_useSaveDir->setObjectName(QString::fromUtf8("kcfg_useSaveDir"));

        gridLayout->addWidget(kcfg_useSaveDir, 1, 0, 1, 1);

        kcfg_saveDir = new KUrlRequester(groupBox);
        kcfg_saveDir->setObjectName(QString::fromUtf8("kcfg_saveDir"));

        gridLayout->addWidget(kcfg_saveDir, 1, 1, 1, 1);

        kcfg_useCompletedDir = new QCheckBox(groupBox);
        kcfg_useCompletedDir->setObjectName(QString::fromUtf8("kcfg_useCompletedDir"));

        gridLayout->addWidget(kcfg_useCompletedDir, 2, 0, 1, 1);

        kcfg_completedDir = new KUrlRequester(groupBox);
        kcfg_completedDir->setObjectName(QString::fromUtf8("kcfg_completedDir"));

        gridLayout->addWidget(kcfg_completedDir, 2, 1, 1, 1);

        kcfg_useTorrentCopyDir = new QCheckBox(groupBox);
        kcfg_useTorrentCopyDir->setObjectName(QString::fromUtf8("kcfg_useTorrentCopyDir"));

        gridLayout->addWidget(kcfg_useTorrentCopyDir, 3, 0, 1, 1);

        kcfg_torrentCopyDir = new KUrlRequester(groupBox);
        kcfg_torrentCopyDir->setObjectName(QString::fromUtf8("kcfg_torrentCopyDir"));

        gridLayout->addWidget(kcfg_torrentCopyDir, 3, 1, 1, 1);


        vboxLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(GeneralPref);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        vboxLayout1 = new QVBoxLayout(groupBox_2);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        kcfg_showSystemTrayIcon = new QCheckBox(groupBox_2);
        kcfg_showSystemTrayIcon->setObjectName(QString::fromUtf8("kcfg_showSystemTrayIcon"));

        vboxLayout1->addWidget(kcfg_showSystemTrayIcon);

        kcfg_showPopups = new QCheckBox(groupBox_2);
        kcfg_showPopups->setObjectName(QString::fromUtf8("kcfg_showPopups"));

        vboxLayout1->addWidget(kcfg_showPopups);


        vboxLayout->addWidget(groupBox_2);

        groupBox_3 = new QGroupBox(GeneralPref);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        vboxLayout2 = new QVBoxLayout(groupBox_3);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        kcfg_openMultipleTorrentsSilently = new QCheckBox(groupBox_3);
        kcfg_openMultipleTorrentsSilently->setObjectName(QString::fromUtf8("kcfg_openMultipleTorrentsSilently"));

        vboxLayout2->addWidget(kcfg_openMultipleTorrentsSilently);

        kcfg_openAllTorrentsSilently = new QCheckBox(groupBox_3);
        kcfg_openAllTorrentsSilently->setObjectName(QString::fromUtf8("kcfg_openAllTorrentsSilently"));

        vboxLayout2->addWidget(kcfg_openAllTorrentsSilently);

        kcfg_suppressSleep = new QCheckBox(groupBox_3);
        kcfg_suppressSleep->setObjectName(QString::fromUtf8("kcfg_suppressSleep"));

        vboxLayout2->addWidget(kcfg_suppressSleep);

        kcfg_autoRenameSingleFileTorrents = new QCheckBox(groupBox_3);
        kcfg_autoRenameSingleFileTorrents->setObjectName(QString::fromUtf8("kcfg_autoRenameSingleFileTorrents"));

        vboxLayout2->addWidget(kcfg_autoRenameSingleFileTorrents);


        vboxLayout->addWidget(groupBox_3);

        spacerItem = new QSpacerItem(382, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem);


        retranslateUi(GeneralPref);
        QObject::connect(kcfg_useCompletedDir, SIGNAL(toggled(bool)), kcfg_completedDir, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_useSaveDir, SIGNAL(toggled(bool)), kcfg_saveDir, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_useTorrentCopyDir, SIGNAL(toggled(bool)), kcfg_torrentCopyDir, SLOT(setEnabled(bool)));

        QMetaObject::connectSlotsByName(GeneralPref);
    } // setupUi

    void retranslateUi(QWidget *GeneralPref)
    {
        groupBox->setTitle(tr2i18n("Folders", 0));
        label->setText(tr2i18n("Folder to store torrent information:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_tempDir->setToolTip(tr2i18n("Directory to store information about all torrents currently opened in KTorrent.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useSaveDir->setToolTip(tr2i18n("Directory to use as a default save location for all data.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useSaveDir->setText(tr2i18n("Default save location:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_saveDir->setToolTip(tr2i18n("Directory to use as a default save location for all data.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useCompletedDir->setToolTip(tr2i18n("Directory to move data to when a torrent has finished downloading.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useCompletedDir->setText(tr2i18n("Move completed downloads to:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_completedDir->setToolTip(tr2i18n("Directory to move data to when a torrent has finished downloading.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useTorrentCopyDir->setToolTip(tr2i18n("Directory to copy all torrent files in, which are opened by KTorrent.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useTorrentCopyDir->setText(tr2i18n("Copy torrent files to:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_torrentCopyDir->setToolTip(tr2i18n("Directory to copy all torrent files in, which are opened by KTorrent.", 0));
#endif // QT_NO_TOOLTIP
        groupBox_2->setTitle(tr2i18n("System Tray Icon", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_showSystemTrayIcon->setToolTip(tr2i18n("Whether or not to show an icon in the system tray.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_showSystemTrayIcon->setText(tr2i18n("Show system tray icon", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_showPopups->setToolTip(tr2i18n("Whether or not to show system tray popup messages.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_showPopups->setText(tr2i18n("Show system tray popup messages", 0));
        groupBox_3->setTitle(tr2i18n("Miscellaneous", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_openMultipleTorrentsSilently->setToolTip(tr2i18n("When you select multiple torrents to be opened at the same time, open them silently.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_openMultipleTorrentsSilently->setText(tr2i18n("Open multiple torrents silently", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_openAllTorrentsSilently->setToolTip(tr2i18n("Open all torrents silently.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_openAllTorrentsSilently->setText(tr2i18n("Open all torrents silently", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_suppressSleep->setToolTip(tr2i18n("Prevent computer from going into a sleep state when torrents are running.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_suppressSleep->setText(tr2i18n("Suppress sleep when torrents are running", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_autoRenameSingleFileTorrents->setToolTip(tr2i18n("<p>Rename a single file torrent with the name of its only file. </p>\n"
"<p>If for example the file is named <span style=\" font-weight:600;\">linux-desktop.iso</span>, the torrent will be displayed as <span style=\" font-weight:600;\">linux-desktop.</span></p>", 0));
#endif // QT_NO_TOOLTIP
        kcfg_autoRenameSingleFileTorrents->setText(tr2i18n("Rename single file torrents with the name its only file", 0));
        Q_UNUSED(GeneralPref);
    } // retranslateUi

};

namespace Ui {
    class GeneralPref: public Ui_GeneralPref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERALPREF_H

