Keep a singleton ComputerManager outside of the Models
This commit is contained in:
parent
0d26ef7e5c
commit
1b1ad86271
9 changed files with 72 additions and 24 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue