refactoring for better separation of concerns

This commit is contained in:
talksik
2024-02-08 16:24:08 -08:00
parent b83f80f7ec
commit dc74c0ede7
9 changed files with 86 additions and 54 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "networkscanner.h"
#include <iostream>
#include <QAbstractListModel>
QList<Network> NetworkScanner::scanForNetworks()
{
std::cout << "Called the C++ Network scanner class" << std::endl;
QList<Network> networks;
Network example1 = Network("Gita 2.4Ghz");
networks.append(example1);
return networks;
}