File indexing completed on 2022-09-27 16:37:09

0001 /*
0002     SPDX-FileCopyrightText: 2010 Daniel Nicoletti <dantti12@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef CHOOSE_SOCKET_H
0008 #define CHOOSE_SOCKET_H
0009 
0010 #include "GenericPage.h"
0011 
0012 namespace Ui {
0013     class ChooseSocket;
0014 }
0015 class ChooseSocket : public GenericPage
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit ChooseSocket(QWidget *parent = nullptr);
0020     ~ChooseSocket() override;
0021 
0022     void setValues(const QVariantHash &args) override;
0023     QVariantHash values() const override;
0024     bool isValid() const override;
0025     bool canProceed() const override;
0026 
0027 private slots:
0028     void on_addressLE_textChanged(const QString &text);
0029 
0030 private:
0031     Ui::ChooseSocket *ui;
0032     bool m_isValid = false;
0033 };
0034 
0035 #endif