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

#ifndef UI_CONFIGTCP_H
#define UI_CONFIGTCP_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_TCP
{
public:
    QVBoxLayout *vboxLayout;
    QCheckBox *kcfg_publishService;
    QCheckBox *kcfg_useDefaultPort;
    QFormLayout *formLayout;
    QLabel *label;
    QSpinBox *kcfg_port;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *TCP)
    {
        if (TCP->objectName().isEmpty())
            TCP->setObjectName("TCP");
        TCP->resize(400, 169);
        vboxLayout = new QVBoxLayout(TCP);
        vboxLayout->setObjectName("vboxLayout");
        kcfg_publishService = new QCheckBox(TCP);
        kcfg_publishService->setObjectName("kcfg_publishService");
        kcfg_publishService->setChecked(true);

        vboxLayout->addWidget(kcfg_publishService);

        kcfg_useDefaultPort = new QCheckBox(TCP);
        kcfg_useDefaultPort->setObjectName("kcfg_useDefaultPort");
        kcfg_useDefaultPort->setChecked(true);

        vboxLayout->addWidget(kcfg_useDefaultPort);

        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        formLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(TCP);
        label->setObjectName("label");

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

        kcfg_port = new QSpinBox(TCP);
        kcfg_port->setObjectName("kcfg_port");
        kcfg_port->setEnabled(false);
        kcfg_port->setMaximum(65535);

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


        vboxLayout->addLayout(formLayout);

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

        vboxLayout->addItem(spacerItem);

#if QT_CONFIG(shortcut)
        label->setBuddy(kcfg_port);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(kcfg_useDefaultPort, kcfg_port);

        retranslateUi(TCP);
        QObject::connect(kcfg_useDefaultPort, &QCheckBox::toggled, kcfg_port, &QSpinBox::setDisabled);

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

    void retranslateUi(QWidget *TCP)
    {
        kcfg_publishService->setText(tr2i18n("Announce the service on the local network", nullptr));
        kcfg_useDefaultPort->setText(tr2i18n("Use default port", nullptr));
        label->setText(tr2i18n("Listening port:", nullptr));
        (void)TCP;
    } // retranslateUi

};

namespace Ui {
    class TCP: public Ui_TCP {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONFIGTCP_H

