blob: 25d8f572019cf938987b7d7ec9fbcb7e0ac89e81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef SOWATCH_TESTDECLARATIVEWATCHLET_H
#define SOWATCH_TESTDECLARATIVEWATCHLET_H
#include <QtSystemInfo/QSystemDeviceInfo>
#include <QtNetwork/QNetworkConfigurationManager>
#include <sowatch.h>
using QTM_PREPEND_NAMESPACE(QSystemDeviceInfo);
namespace sowatch
{
class SysInfoWatchlet : public DeclarativeWatchlet
{
Q_OBJECT
public:
explicit SysInfoWatchlet(WatchServer* server);
private slots:
void handleActivated();
private:
QSystemDeviceInfo *_devInfo;
QNetworkConfigurationManager *_netMgr;
};
}
#endif // SOWATCH_TESTDECLARATIVEWATCHLET_H
|