Add DBus network checker for Linux
This commit is contained in:
parent
e730521576
commit
319043818a
12 changed files with 65 additions and 11 deletions
|
@ -23,6 +23,7 @@ class LinuxNetworkWatcherWorker final : public QObject {
|
|||
|
||||
signals:
|
||||
void unsecuredNetwork(const QString& networkName, const QString& networkId);
|
||||
void sleepMode();
|
||||
|
||||
public slots:
|
||||
void initialize();
|
||||
|
@ -30,6 +31,7 @@ class LinuxNetworkWatcherWorker final : public QObject {
|
|||
private slots:
|
||||
void propertyChanged(QString interface, QVariantMap properties,
|
||||
QStringList list);
|
||||
void NMStateChanged(quint32 state);
|
||||
|
||||
private:
|
||||
// We collect the list of DBus wifi network device paths during the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue