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

/********************************************************************************
** Form generated from reading UI file 'proxypref.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_PROXYPREF_H
#define UI_PROXYPREF_H

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

QT_BEGIN_NAMESPACE

class Ui_ProxyPref
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox_3;
    QVBoxLayout *vboxLayout1;
    QCheckBox *kcfg_useKDEProxySettings;
    QHBoxLayout *hboxLayout;
    QLabel *label_10;
    QLineEdit *kcfg_httpProxy;
    QLabel *label_2;
    QSpinBox *kcfg_httpProxyPort;
    QCheckBox *kcfg_useProxyForWebSeeds;
    QCheckBox *kcfg_useProxyForTracker;
    QGroupBox *groupBox;
    QVBoxLayout *vboxLayout2;
    QCheckBox *kcfg_socksEnabled;
    QHBoxLayout *hboxLayout1;
    QLabel *label_12;
    QLineEdit *kcfg_socksProxy;
    QLabel *label_11;
    QSpinBox *kcfg_socksPort;
    QLabel *label_13;
    QSpinBox *kcfg_socksVersion;
    QCheckBox *kcfg_socksUsePassword;
    QHBoxLayout *hboxLayout2;
    QGridLayout *gridLayout;
    QLabel *label;
    QLineEdit *kcfg_socksUsername;
    QLabel *label_14;
    KLineEdit *kcfg_socksPassword;
    QSpacerItem *spacerItem;
    QSpacerItem *spacerItem1;

    void setupUi(QWidget *ProxyPref)
    {
        if (ProxyPref->objectName().isEmpty())
            ProxyPref->setObjectName(QString::fromUtf8("ProxyPref"));
        ProxyPref->resize(417, 387);
        vboxLayout = new QVBoxLayout(ProxyPref);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        groupBox_3 = new QGroupBox(ProxyPref);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        vboxLayout1 = new QVBoxLayout(groupBox_3);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        kcfg_useKDEProxySettings = new QCheckBox(groupBox_3);
        kcfg_useKDEProxySettings->setObjectName(QString::fromUtf8("kcfg_useKDEProxySettings"));

        vboxLayout1->addWidget(kcfg_useKDEProxySettings);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        label_10 = new QLabel(groupBox_3);
        label_10->setObjectName(QString::fromUtf8("label_10"));

        hboxLayout->addWidget(label_10);

        kcfg_httpProxy = new QLineEdit(groupBox_3);
        kcfg_httpProxy->setObjectName(QString::fromUtf8("kcfg_httpProxy"));

        hboxLayout->addWidget(kcfg_httpProxy);

        label_2 = new QLabel(groupBox_3);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        hboxLayout->addWidget(label_2);

        kcfg_httpProxyPort = new QSpinBox(groupBox_3);
        kcfg_httpProxyPort->setObjectName(QString::fromUtf8("kcfg_httpProxyPort"));
        kcfg_httpProxyPort->setMinimum(1);
        kcfg_httpProxyPort->setMaximum(65535);
        kcfg_httpProxyPort->setValue(8080);

        hboxLayout->addWidget(kcfg_httpProxyPort);


        vboxLayout1->addLayout(hboxLayout);

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

        vboxLayout1->addWidget(kcfg_useProxyForWebSeeds);

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

        vboxLayout1->addWidget(kcfg_useProxyForTracker);


        vboxLayout->addWidget(groupBox_3);

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

        vboxLayout2->addWidget(kcfg_socksEnabled);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        label_12 = new QLabel(groupBox);
        label_12->setObjectName(QString::fromUtf8("label_12"));

        hboxLayout1->addWidget(label_12);

        kcfg_socksProxy = new QLineEdit(groupBox);
        kcfg_socksProxy->setObjectName(QString::fromUtf8("kcfg_socksProxy"));

        hboxLayout1->addWidget(kcfg_socksProxy);

        label_11 = new QLabel(groupBox);
        label_11->setObjectName(QString::fromUtf8("label_11"));

        hboxLayout1->addWidget(label_11);

        kcfg_socksPort = new QSpinBox(groupBox);
        kcfg_socksPort->setObjectName(QString::fromUtf8("kcfg_socksPort"));

        hboxLayout1->addWidget(kcfg_socksPort);

        label_13 = new QLabel(groupBox);
        label_13->setObjectName(QString::fromUtf8("label_13"));

        hboxLayout1->addWidget(label_13);

        kcfg_socksVersion = new QSpinBox(groupBox);
        kcfg_socksVersion->setObjectName(QString::fromUtf8("kcfg_socksVersion"));

        hboxLayout1->addWidget(kcfg_socksVersion);


        vboxLayout2->addLayout(hboxLayout1);

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

        vboxLayout2->addWidget(kcfg_socksUsePassword);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));

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

        kcfg_socksUsername = new QLineEdit(groupBox);
        kcfg_socksUsername->setObjectName(QString::fromUtf8("kcfg_socksUsername"));

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

        label_14 = new QLabel(groupBox);
        label_14->setObjectName(QString::fromUtf8("label_14"));

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

        kcfg_socksPassword = new KLineEdit(groupBox);
        kcfg_socksPassword->setObjectName(QString::fromUtf8("kcfg_socksPassword"));
        kcfg_socksPassword->setPasswordMode(true);

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


        hboxLayout2->addLayout(gridLayout);

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

        hboxLayout2->addItem(spacerItem);


        vboxLayout2->addLayout(hboxLayout2);


        vboxLayout->addWidget(groupBox);

        spacerItem1 = new QSpacerItem(409, 21, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem1);


        retranslateUi(ProxyPref);
        QObject::connect(kcfg_socksEnabled, SIGNAL(toggled(bool)), kcfg_socksProxy, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_socksEnabled, SIGNAL(toggled(bool)), kcfg_socksPort, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_socksEnabled, SIGNAL(toggled(bool)), kcfg_socksVersion, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_useKDEProxySettings, SIGNAL(toggled(bool)), kcfg_httpProxy, SLOT(setDisabled(bool)));
        QObject::connect(kcfg_useKDEProxySettings, SIGNAL(toggled(bool)), kcfg_httpProxyPort, SLOT(setDisabled(bool)));
        QObject::connect(kcfg_useKDEProxySettings, SIGNAL(toggled(bool)), kcfg_useProxyForWebSeeds, SLOT(setDisabled(bool)));
        QObject::connect(kcfg_useKDEProxySettings, SIGNAL(toggled(bool)), kcfg_useProxyForTracker, SLOT(setDisabled(bool)));

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

    void retranslateUi(QWidget *ProxyPref)
    {
        groupBox_3->setTitle(tr2i18n("HTTP", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useKDEProxySettings->setToolTip(tr2i18n("<p>Use the HTTP proxy settings configured in the settings of KDE.</p>", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useKDEProxySettings->setText(tr2i18n("Use KDE proxy settings", 0));
        label_10->setText(tr2i18n("Proxy:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_httpProxy->setToolTip(tr2i18n("IP address or hostname of the HTTP proxy to use. ", 0));
#endif // QT_NO_TOOLTIP
        label_2->setText(tr2i18n("Port:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_httpProxyPort->setToolTip(tr2i18n("Port of the HTTP proxy.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useProxyForWebSeeds->setToolTip(tr2i18n("Whether or not to use the HTTP proxy for webseed connections.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useProxyForWebSeeds->setText(tr2i18n("Use proxy for webseed connections", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useProxyForTracker->setToolTip(tr2i18n("<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Whether or not to use the HTTP proxy for tracker connections.</p>", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useProxyForTracker->setText(tr2i18n("Use proxy for tracker connections", 0));
        groupBox->setTitle(tr2i18n("SOCKS", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksEnabled->setToolTip(tr2i18n("<p>Use a SOCKS proxy server for bittorrent connections.</p>\n"
"<p><span style=\" font-weight:600;\">Note: </span>This is not used for tracker connections</p>", 0));
#endif // QT_NO_TOOLTIP
        kcfg_socksEnabled->setText(tr2i18n("Use a SOCKS proxy server:", 0));
        label_12->setText(tr2i18n("Server:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksProxy->setToolTip(tr2i18n("<p>IP address or hostname of the SOCKS server</p>", 0));
#endif // QT_NO_TOOLTIP
        label_11->setText(tr2i18n("Port:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksPort->setToolTip(tr2i18n("Port used by the SOCKS server", 0));
#endif // QT_NO_TOOLTIP
        label_13->setText(tr2i18n("Version:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksUsePassword->setToolTip(tr2i18n("If the SOCKS server requires authentication via a username and a password, enable this box.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_socksUsePassword->setText(tr2i18n("Username and password required", 0));
        label->setText(tr2i18n("Username:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksUsername->setToolTip(tr2i18n("Username for the SOCKS proxy server.", 0));
#endif // QT_NO_TOOLTIP
        label_14->setText(tr2i18n("Password:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_socksPassword->setToolTip(tr2i18n("Password for the SOCKS proxy server.", 0));
#endif // QT_NO_TOOLTIP
        Q_UNUSED(ProxyPref);
    } // retranslateUi

};

namespace Ui {
    class ProxyPref: public Ui_ProxyPref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PROXYPREF_H

