Add DBus network checker for Linux

This commit is contained in:
Mykola Baibuz 2025-04-02 11:33:15 +03:00
parent e730521576
commit 319043818a
12 changed files with 65 additions and 11 deletions

View file

@ -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