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

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

#ifndef UI_SCANFOLDERPREFPAGE_H
#define UI_SCANFOLDERPREFPAGE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klistwidget.h"

QT_BEGIN_NAMESPACE

class Ui_ScanFolderPrefPage
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *label;
    QHBoxLayout *hboxLayout;
    KListWidget *m_folders;
    QVBoxLayout *vboxLayout1;
    QPushButton *m_add;
    QPushButton *m_remove;
    QSpacerItem *spacerItem;
    QGroupBox *groupBox;
    QVBoxLayout *vboxLayout2;
    QCheckBox *kcfg_openSilently;
    QCheckBox *kcfg_recursive;
    QCheckBox *kcfg_actionDelete;
    QCheckBox *kcfg_actionMove;
    QHBoxLayout *hboxLayout1;
    QCheckBox *kcfg_addToGroup;
    QComboBox *m_group;

    void setupUi(QWidget *ScanFolderPrefPage)
    {
        if (ScanFolderPrefPage->objectName().isEmpty())
            ScanFolderPrefPage->setObjectName(QString::fromUtf8("ScanFolderPrefPage"));
        ScanFolderPrefPage->resize(559, 590);
        vboxLayout = new QVBoxLayout(ScanFolderPrefPage);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        label = new QLabel(ScanFolderPrefPage);
        label->setObjectName(QString::fromUtf8("label"));

        vboxLayout->addWidget(label);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_folders = new KListWidget(ScanFolderPrefPage);
        m_folders->setObjectName(QString::fromUtf8("m_folders"));

        hboxLayout->addWidget(m_folders);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        m_add = new QPushButton(ScanFolderPrefPage);
        m_add->setObjectName(QString::fromUtf8("m_add"));

        vboxLayout1->addWidget(m_add);

        m_remove = new QPushButton(ScanFolderPrefPage);
        m_remove->setObjectName(QString::fromUtf8("m_remove"));

        vboxLayout1->addWidget(m_remove);

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

        vboxLayout1->addItem(spacerItem);


        hboxLayout->addLayout(vboxLayout1);


        vboxLayout->addLayout(hboxLayout);

        groupBox = new QGroupBox(ScanFolderPrefPage);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        vboxLayout2 = new QVBoxLayout(groupBox);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        kcfg_openSilently = new QCheckBox(groupBox);
        kcfg_openSilently->setObjectName(QString::fromUtf8("kcfg_openSilently"));

        vboxLayout2->addWidget(kcfg_openSilently);

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

        vboxLayout2->addWidget(kcfg_recursive);

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

        vboxLayout2->addWidget(kcfg_actionDelete);

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

        vboxLayout2->addWidget(kcfg_actionMove);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        kcfg_addToGroup = new QCheckBox(groupBox);
        kcfg_addToGroup->setObjectName(QString::fromUtf8("kcfg_addToGroup"));

        hboxLayout1->addWidget(kcfg_addToGroup);

        m_group = new QComboBox(groupBox);
        m_group->setObjectName(QString::fromUtf8("m_group"));

        hboxLayout1->addWidget(m_group);


        vboxLayout2->addLayout(hboxLayout1);


        vboxLayout->addWidget(groupBox);


        retranslateUi(ScanFolderPrefPage);
        QObject::connect(kcfg_addToGroup, SIGNAL(toggled(bool)), m_group, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *ScanFolderPrefPage)
    {
        label->setText(tr2i18n("Folders to scan for torrents:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_folders->setToolTip(tr2i18n("List of folders which will be scanned for torrents by this plugin.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_add->setToolTip(tr2i18n("Add a new folder to be scanned.", 0));
#endif // QT_NO_TOOLTIP
        m_add->setText(tr2i18n("Add Folder", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_remove->setToolTip(tr2i18n("Remove a folder from the list.", 0));
#endif // QT_NO_TOOLTIP
        m_remove->setText(tr2i18n("Remove Folder", 0));
        groupBox->setTitle(tr2i18n("Options", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_openSilently->setToolTip(tr2i18n("Open the torrents without asking any questions.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_openSilently->setText(tr2i18n("Open silently", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_recursive->setToolTip(tr2i18n("Scan the folder recursively for torrents. <br/><br/>\n"
"Note: This will not be done for any folder named loaded.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_recursive->setText(tr2i18n("Scan subfolders", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_actionDelete->setToolTip(tr2i18n("When a torrent file has been found and loaded, delete it.<br/><br/>\n"
"Warning: you will permanently lose this file.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_actionDelete->setText(tr2i18n("Remove torrent file after loading", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_actionMove->setToolTip(tr2i18n("When a torrent file is loaded, move it to a subdirectory named loaded. If the folder does not exist, it will be created.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_actionMove->setText(tr2i18n("Move torrent file to loaded directory", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_addToGroup->setToolTip(tr2i18n("Add torrents opened with this plugin to a group.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_addToGroup->setText(tr2i18n("Add torrent to group:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_group->setToolTip(tr2i18n("Group to add torrents to.", 0));
#endif // QT_NO_TOOLTIP
        Q_UNUSED(ScanFolderPrefPage);
    } // retranslateUi

};

namespace Ui {
    class ScanFolderPrefPage: public Ui_ScanFolderPrefPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SCANFOLDERPREFPAGE_H

