having a better abstraction for network stuff as manager for other methods

This commit is contained in:
talksik
2024-02-09 12:14:04 -08:00
parent 68596b75c5
commit edefbf5b13
6 changed files with 23 additions and 31 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#define NETWORKSMODEL_H
#include <QAbstractListModel>
#include "networkscanner.h"
#include "networkmanager.h"
class NetworksModel : public QAbstractListModel
{
@@ -25,7 +25,7 @@ protected:
private:
QList<Network> m_networks;
NetworkScanner m_networkScanner;
NetworkManager m_networkmanager;
};
#endif // NETWORKSMODEL_H