making signal from qml call slot in c++ class

This commit is contained in:
talksik
2024-02-07 15:37:51 -08:00
parent 87d431eaad
commit f8304b370a
124 changed files with 7731 additions and 32 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef NETWORKSCANNER_H
#define NETWORKSCANNER_H
#endif // NETWORKSCANNER_H
#include <QObject>
// class Network
// {
// public:
// enum NetworkStatus {
// Connected = 0,
// Available
// };
// Network(const QString &name, const NetworkStatus &status);
// QString name;
// NetworkStatus status;
// };
class NetworkScanner : public QObject
{
Q_OBJECT
public slots:
void scan();
};