diff options
Diffstat (limited to 'ui/qt5/netsimplewifipage.hh')
-rw-r--r-- | ui/qt5/netsimplewifipage.hh | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/ui/qt5/netsimplewifipage.hh b/ui/qt5/netsimplewifipage.hh index 3ba3e6a..8545c94 100644 --- a/ui/qt5/netsimplewifipage.hh +++ b/ui/qt5/netsimplewifipage.hh @@ -1,3 +1,15 @@ +/* + * netsimplewifipage.hh - Definition of the UI.Network.Wireless page + * horizon-qt5, the Qt 5 user interface for + * Project Horizon + * + * Copyright (c) 2019 Adélie Linux and contributors. All rights reserved. + * This code is licensed under the AGPL 3.0 license, as noted in the + * LICENSE-code file in the root directory of this repository. + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + #ifndef NETWORKSIMPLEWIRELESSPAGE_HH #define NETWORKSIMPLEWIRELESSPAGE_HH @@ -5,18 +17,18 @@ #include <QComboBox> #include <QLineEdit> -#include <QListView> +#include <QListWidget> -class NetworkSimpleWirelessPage : public HorizonWizardPage -{ +class NetworkSimpleWirelessPage : public HorizonWizardPage { public: - NetworkSimpleWirelessPage(QWidget *parent = 0); + NetworkSimpleWirelessPage(QWidget *parent = nullptr); - void initializePage(); + void initializePage(); + void doScan(); + int nextId() const; private: - QComboBox *securityType; - QLineEdit *ssidName, *passphrase; - QListView *ssidListView; + QListWidget *ssidListView; + QLineEdit *passphrase; }; -#endif // NETWORKSIMPLEWIRELESSPAGE_HH +#endif /* !NETWORKSIMPLEWIRELESSPAGE_HH */ |