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

/********************************************************************************
** Form generated from reading UI file 'searchpref.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_SEARCHPREF_H
#define UI_SEARCHPREF_H

#include <Qt3Support/Q3MimeSourceFactory>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QListView>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_SearchPref
{
public:
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *hboxLayout;
    QPushButton *m_clear_history;
    QPushButton *m_reset_default_action;
    QSpacerItem *spacerItem;
    QCheckBox *kcfg_restorePreviousSession;
    QCheckBox *kcfg_openInExternal;
    QRadioButton *kcfg_useDefaultBrowser;
    QHBoxLayout *hboxLayout1;
    QRadioButton *kcfg_useCustomBrowser;
    KLineEdit *kcfg_customBrowser;
    QSpacerItem *spacerItem1;
    QGroupBox *groupBox8;
    QHBoxLayout *horizontalLayout;
    QListView *m_engines;
    QVBoxLayout *verticalLayout;
    QPushButton *m_add;
    QPushButton *m_remove;
    QPushButton *m_remove_all;
    QSpacerItem *verticalSpacer;
    QPushButton *m_add_default;

    void setupUi(QWidget *SearchPref)
    {
        if (SearchPref->objectName().isEmpty())
            SearchPref->setObjectName(QString::fromUtf8("SearchPref"));
        SearchPref->resize(569, 364);
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(SearchPref->sizePolicy().hasHeightForWidth());
        SearchPref->setSizePolicy(sizePolicy);
        SearchPref->setMinimumSize(QSize(500, 350));
        verticalLayout_2 = new QVBoxLayout(SearchPref);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_clear_history = new QPushButton(SearchPref);
        m_clear_history->setObjectName(QString::fromUtf8("m_clear_history"));

        hboxLayout->addWidget(m_clear_history);

        m_reset_default_action = new QPushButton(SearchPref);
        m_reset_default_action->setObjectName(QString::fromUtf8("m_reset_default_action"));

        hboxLayout->addWidget(m_reset_default_action);

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

        hboxLayout->addItem(spacerItem);


        verticalLayout_2->addLayout(hboxLayout);

        kcfg_restorePreviousSession = new QCheckBox(SearchPref);
        kcfg_restorePreviousSession->setObjectName(QString::fromUtf8("kcfg_restorePreviousSession"));

        verticalLayout_2->addWidget(kcfg_restorePreviousSession);

        kcfg_openInExternal = new QCheckBox(SearchPref);
        kcfg_openInExternal->setObjectName(QString::fromUtf8("kcfg_openInExternal"));

        verticalLayout_2->addWidget(kcfg_openInExternal);

        kcfg_useDefaultBrowser = new QRadioButton(SearchPref);
        kcfg_useDefaultBrowser->setObjectName(QString::fromUtf8("kcfg_useDefaultBrowser"));

        verticalLayout_2->addWidget(kcfg_useDefaultBrowser);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        kcfg_useCustomBrowser = new QRadioButton(SearchPref);
        kcfg_useCustomBrowser->setObjectName(QString::fromUtf8("kcfg_useCustomBrowser"));

        hboxLayout1->addWidget(kcfg_useCustomBrowser);

        kcfg_customBrowser = new KLineEdit(SearchPref);
        kcfg_customBrowser->setObjectName(QString::fromUtf8("kcfg_customBrowser"));

        hboxLayout1->addWidget(kcfg_customBrowser);

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

        hboxLayout1->addItem(spacerItem1);


        verticalLayout_2->addLayout(hboxLayout1);

        groupBox8 = new QGroupBox(SearchPref);
        groupBox8->setObjectName(QString::fromUtf8("groupBox8"));
        horizontalLayout = new QHBoxLayout(groupBox8);
        horizontalLayout->setSpacing(6);
        horizontalLayout->setContentsMargins(11, 11, 11, 11);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        m_engines = new QListView(groupBox8);
        m_engines->setObjectName(QString::fromUtf8("m_engines"));
        m_engines->setSelectionMode(QAbstractItemView::ExtendedSelection);

        horizontalLayout->addWidget(m_engines);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_add = new QPushButton(groupBox8);
        m_add->setObjectName(QString::fromUtf8("m_add"));

        verticalLayout->addWidget(m_add);

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

        verticalLayout->addWidget(m_remove);

        m_remove_all = new QPushButton(groupBox8);
        m_remove_all->setObjectName(QString::fromUtf8("m_remove_all"));

        verticalLayout->addWidget(m_remove_all);

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

        verticalLayout->addItem(verticalSpacer);

        m_add_default = new QPushButton(groupBox8);
        m_add_default->setObjectName(QString::fromUtf8("m_add_default"));

        verticalLayout->addWidget(m_add_default);


        horizontalLayout->addLayout(verticalLayout);


        verticalLayout_2->addWidget(groupBox8);


        retranslateUi(SearchPref);

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

    void retranslateUi(QWidget *SearchPref)
    {
        SearchPref->setWindowTitle(tr2i18n("Search Preferences", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_clear_history->setToolTip(tr2i18n("Clear the search history combo boxes.", 0));
#endif // QT_NO_TOOLTIP
        m_clear_history->setText(tr2i18n("Clear Search History", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_reset_default_action->setToolTip(tr2i18n("Reset the default action taken when a torrent is downloaded.", 0));
#endif // QT_NO_TOOLTIP
        m_reset_default_action->setText(tr2i18n("Reset Default Torrent Action", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_restorePreviousSession->setToolTip(tr2i18n("Restore all the active searches of the last session", 0));
#endif // QT_NO_TOOLTIP
        kcfg_restorePreviousSession->setText(tr2i18n("Restore previous searches", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_openInExternal->setToolTip(tr2i18n("Whether or not to open searches in an external browser.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_openInExternal->setText(tr2i18n("Open searches in external browser", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useDefaultBrowser->setToolTip(tr2i18n("Use the default browser configured in the system settings.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useDefaultBrowser->setText(tr2i18n("Use default browser", 0));
        kcfg_useDefaultBrowser->setShortcut(QString());
#ifndef UI_QT_NO_TOOLTIP
        kcfg_useCustomBrowser->setToolTip(tr2i18n("Use a custom browser.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_useCustomBrowser->setText(tr2i18n("Custom browser path:", 0));
        kcfg_useCustomBrowser->setShortcut(QString());
#ifndef UI_QT_NO_TOOLTIP
        kcfg_customBrowser->setToolTip(tr2i18n("Path of the custom browser.", 0));
#endif // QT_NO_TOOLTIP
        groupBox8->setTitle(tr2i18n("Search Engines", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_add->setToolTip(tr2i18n("Add a new search engine.", 0));
#endif // QT_NO_TOOLTIP
        m_add->setText(tr2i18n("Add", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_remove->setToolTip(tr2i18n("Remove all selected search engines.", 0));
#endif // QT_NO_TOOLTIP
        m_remove->setText(tr2i18n("&Remove", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_remove_all->setToolTip(tr2i18n("Remove all search engines.", 0));
#endif // QT_NO_TOOLTIP
        m_remove_all->setText(tr2i18n("R&emove All", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_add_default->setToolTip(tr2i18n("Add all default search engines.", 0));
#endif // QT_NO_TOOLTIP
        m_add_default->setText(tr2i18n("Add Defau&lt", 0));
    } // retranslateUi

};

namespace Ui {
    class SearchPref: public Ui_SearchPref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SEARCHPREF_H

