#include <klocalizedstring.h>

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

#ifndef UI_KCOOKIESPOLICYSELECTIONDLG_H
#define UI_KCOOKIESPOLICYSELECTIONDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_KCookiesPolicySelectionDlgUI
{
public:
    QFormLayout *formLayout;
    QLabel *lbDomain;
    QLineEdit *leDomain;
    QLabel *lbPolicy;
    KComboBox *cbPolicy;

    void setupUi(QWidget *KCookiesPolicySelectionDlgUI)
    {
        if (KCookiesPolicySelectionDlgUI->objectName().isEmpty())
            KCookiesPolicySelectionDlgUI->setObjectName(QStringLiteral("KCookiesPolicySelectionDlgUI"));
        KCookiesPolicySelectionDlgUI->resize(287, 81);
        formLayout = new QFormLayout(KCookiesPolicySelectionDlgUI);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        lbDomain = new QLabel(KCookiesPolicySelectionDlgUI);
        lbDomain->setObjectName(QStringLiteral("lbDomain"));
        lbDomain->setWordWrap(false);

        formLayout->setWidget(0, QFormLayout::LabelRole, lbDomain);

        leDomain = new QLineEdit(KCookiesPolicySelectionDlgUI);
        leDomain->setObjectName(QStringLiteral("leDomain"));

        formLayout->setWidget(0, QFormLayout::FieldRole, leDomain);

        lbPolicy = new QLabel(KCookiesPolicySelectionDlgUI);
        lbPolicy->setObjectName(QStringLiteral("lbPolicy"));
        lbPolicy->setWordWrap(false);

        formLayout->setWidget(1, QFormLayout::LabelRole, lbPolicy);

        cbPolicy = new KComboBox(KCookiesPolicySelectionDlgUI);
        cbPolicy->setObjectName(QStringLiteral("cbPolicy"));

        formLayout->setWidget(1, QFormLayout::FieldRole, cbPolicy);

#ifndef UI_QT_NO_SHORTCUT
        lbDomain->setBuddy(leDomain);
        lbPolicy->setBuddy(cbPolicy);
#endif // QT_NO_SHORTCUT

        retranslateUi(KCookiesPolicySelectionDlgUI);

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

    void retranslateUi(QWidget *KCookiesPolicySelectionDlgUI)
    {
#ifndef UI_QT_NO_WHATSTHIS
        lbDomain->setWhatsThis(tr2i18n("<qt>\n"
"Enter the host or domain to which this policy applies, e.g. <b>www.kde.org</b> or <b>.kde.org</b>.\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lbDomain->setText(tr2i18n("Site name:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        leDomain->setWhatsThis(tr2i18n("Enter the host or domain name, e.g. .kde.org, this policy applies to.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        lbPolicy->setWhatsThis(tr2i18n("<qt>\n"
"Select the desired policy:\n"
"<ul>\n"
"<li><b>Accept</b> - Allows this site to set cookies</li>\n"
"<li><b>Accept until end of session</b> - Allows this site to set cookies but they will expire at the end of the session.</li>\n"
"<li><b>Reject</b> - Refuse all cookies sent from this site</li>\n"
"<li><b>Ask</b> - Prompt when cookies are received from this site</li>\n"
"</ul>\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lbPolicy->setText(tr2i18n("Policy:", Q_NULLPTR));
        cbPolicy->clear();
        cbPolicy->insertItems(0, QStringList()
         << tr2i18n("Accept", Q_NULLPTR)
         << tr2i18n("Accept until end of session", Q_NULLPTR)
         << tr2i18n("Reject", Q_NULLPTR)
         << tr2i18n("Ask", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        cbPolicy->setWhatsThis(tr2i18n("<qt>\n"
"Select the desired policy:\n"
"<ul>\n"
"<li><b>Accept</b> - Allows this site to set cookies</li>\n"
"<li><b>Accept until end of session</b> - Allows this site to set cookies but they will expire at the end of the session.</li>\n"
"<li><b>Reject</b> - Refuse all cookies sent from this site</li>\n"
"<li><b>Ask</b> - Prompt when cookies are received from this site</li>\n"
"</ul>\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        Q_UNUSED(KCookiesPolicySelectionDlgUI);
    } // retranslateUi

};

namespace Ui {
    class KCookiesPolicySelectionDlgUI: public Ui_KCookiesPolicySelectionDlgUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KCOOKIESPOLICYSELECTIONDLG_H

