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

/********************************************************************************
** Form generated from reading UI file 'propertiesdlg.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_PROPERTIESDLG_H
#define UI_PROPERTIESDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QHeaderView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_PropertiesDlg
{
public:
    QVBoxLayout *verticalLayout;
    QCheckBox *dht;
    QCheckBox *pex;
    QCheckBox *superseeding;
    QCheckBox *move_on_completion_enabled;
    KUrlRequester *move_on_completion_url;
    QFrame *line;

    void setupUi(QWidget *PropertiesDlg)
    {
        if (PropertiesDlg->objectName().isEmpty())
            PropertiesDlg->setObjectName(QString::fromUtf8("PropertiesDlg"));
        PropertiesDlg->resize(400, 134);
        verticalLayout = new QVBoxLayout(PropertiesDlg);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        dht = new QCheckBox(PropertiesDlg);
        dht->setObjectName(QString::fromUtf8("dht"));

        verticalLayout->addWidget(dht);

        pex = new QCheckBox(PropertiesDlg);
        pex->setObjectName(QString::fromUtf8("pex"));

        verticalLayout->addWidget(pex);

        superseeding = new QCheckBox(PropertiesDlg);
        superseeding->setObjectName(QString::fromUtf8("superseeding"));

        verticalLayout->addWidget(superseeding);

        move_on_completion_enabled = new QCheckBox(PropertiesDlg);
        move_on_completion_enabled->setObjectName(QString::fromUtf8("move_on_completion_enabled"));

        verticalLayout->addWidget(move_on_completion_enabled);

        move_on_completion_url = new KUrlRequester(PropertiesDlg);
        move_on_completion_url->setObjectName(QString::fromUtf8("move_on_completion_url"));
        move_on_completion_url->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly);

        verticalLayout->addWidget(move_on_completion_url);

        line = new QFrame(PropertiesDlg);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        verticalLayout->addWidget(line);


        retranslateUi(PropertiesDlg);

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

    void retranslateUi(QWidget *PropertiesDlg)
    {
        PropertiesDlg->setWindowTitle(tr2i18n("Properties", 0));
#ifndef UI_QT_NO_TOOLTIP
        dht->setToolTip(tr2i18n("DHT is a distributed database which can be used to find more peers for a torrent.", 0));
#endif // QT_NO_TOOLTIP
        dht->setText(tr2i18n("Use DHT to find more peers", 0));
#ifndef UI_QT_NO_TOOLTIP
        pex->setToolTip(tr2i18n("Peer exchange results in more peers being found, by exchanging information about peers with other peers.", 0));
#endif // QT_NO_TOOLTIP
        pex->setText(tr2i18n("Use peer exchange to find more peers", 0));
#ifndef UI_QT_NO_TOOLTIP
        superseeding->setToolTip(tr2i18n("<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Superseeding mode, is a special seeding mode which allows you to achieve much higher seeding efficiencies. This results in less bandwidth used to spread a torrent.</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Note: </span>This should only be used if the swarm has not fully been established. Once there are multiple active seeders, this mode becomes useless.</p>", 0));
#endif // QT_NO_TOOLTIP
        superseeding->setText(tr2i18n("Use superseeding mode for seeding", 0));
#ifndef UI_QT_NO_TOOLTIP
        move_on_completion_enabled->setToolTip(tr2i18n("Move the files of the torrent to a different directory when it has finished downloading.", 0));
#endif // QT_NO_TOOLTIP
        move_on_completion_enabled->setText(tr2i18n("Move when completed to:", 0));
#ifndef UI_QT_NO_TOOLTIP
        move_on_completion_url->setToolTip(tr2i18n("Location to move the files to.", 0));
#endif // QT_NO_TOOLTIP
    } // retranslateUi

};

namespace Ui {
    class PropertiesDlg: public Ui_PropertiesDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PROPERTIESDLG_H

