Keep a singleton ComputerManager outside of the Models

This commit is contained in:
Cameron Gutman
2018-07-05 22:08:55 -07:00
parent 0d26ef7e5c
commit 1b1ad86271
9 changed files with 72 additions and 24 deletions
+3 -3
View File
@@ -242,11 +242,11 @@ class ComputerManager : public QObject
public:
explicit ComputerManager(QObject *parent = nullptr);
void startPolling();
Q_INVOKABLE void startPolling();
void stopPollingAsync();
Q_INVOKABLE void stopPollingAsync();
bool addNewHost(QString address, bool mdns);
Q_INVOKABLE bool addNewHost(QString address, bool mdns);
QVector<NvComputer*> getComputers();