Warning, file /plasma/plasma-nm/libs/editor/widgets/ssidcombobox.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2013 Lukas Tinkl <ltinkl@redhat.com>
0003     SPDX-FileCopyrightText: 2013 Jan Grulich <jgrulich@redhat.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef PLASMA_NM_SSIDCOMBOBOX_H
0009 #define PLASMA_NM_SSIDCOMBOBOX_H
0010 
0011 #include <KComboBox>
0012 
0013 #include <NetworkManagerQt/WirelessNetwork>
0014 
0015 class Q_DECL_EXPORT SsidComboBox : public KComboBox
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit SsidComboBox(QWidget *parent = nullptr);
0020 
0021     void init(const QString &ssid);
0022 
0023     QString ssid() const;
0024 
0025 Q_SIGNALS:
0026     void ssidChanged();
0027 
0028 private Q_SLOTS:
0029     void slotEditTextChanged(const QString &text);
0030     void slotCurrentIndexChanged(int);
0031 
0032 private:
0033     void addSsidsToCombo(const QList<NetworkManager::WirelessNetwork::Ptr> &networks);
0034     QString m_initialSsid;
0035 };
0036 
0037 #endif // PLASMA_NM_SSIDCOMBOBOX_H