File indexing completed on 2025-01-19 05:06:21

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 {
0014 class ChooseSocket;
0015 }
0016 class ChooseSocket : public GenericPage
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit ChooseSocket(QWidget *parent = nullptr);
0021     ~ChooseSocket() override;
0022 
0023     void setValues(const QVariantMap &args) override;
0024     QVariantMap values() const override;
0025     bool isValid() const override;
0026     bool canProceed() const override;
0027 
0028 private:
0029     Ui::ChooseSocket *const ui;
0030     bool m_isValid = false;
0031 };
0032 
0033 #endif