Warning, file /plasma/plasma-nm/libs/editor/widgets/bssidcombobox.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_BSSIDCOMBOBOX_H
0009 #define PLASMA_NM_BSSIDCOMBOBOX_H
0010 
0011 #include <QComboBox>
0012 
0013 #include <NetworkManagerQt/AccessPoint>
0014 #include <NetworkManagerQt/Device>
0015 
0016 class Q_DECL_EXPORT BssidComboBox : public QComboBox
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit BssidComboBox(QWidget *parent = nullptr);
0021 
0022     QString bssid() const;
0023     bool isValid() const;
0024 
0025 Q_SIGNALS:
0026     void bssidChanged();
0027 
0028 public Q_SLOTS:
0029     void init(const QString &bssid, const QString &ssid);
0030 
0031 private Q_SLOTS:
0032     void slotEditTextChanged(const QString &);
0033     void slotCurrentIndexChanged(int);
0034 
0035 private:
0036     void addBssidsToCombo(const QList<NetworkManager::AccessPoint::Ptr> &aps);
0037 
0038     QString m_initialBssid;
0039     bool m_dirty = false;
0040 };
0041 
0042 #endif // PLASMA_NM_BSSIDCOMBOBOX_H