blob: 5b72482881dfdfe23e10587cd4f918a8ef0d6699 (
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
|
#include "qmapwatchlet.h"
#include "qmapwatchletplugin.h"
using namespace sowatch;
QMapWatchletPlugin::QMapWatchletPlugin(QObject *parent) :
QObject(parent)
{
}
QMapWatchletPlugin::~QMapWatchletPlugin()
{
}
QStringList QMapWatchletPlugin::watchlets()
{
QStringList l;
l << "com.javispedro.sowatch.qmap";
return l;
}
Watchlet* QMapWatchletPlugin::getWatchlet(const QString& driver, QSettings& settings, WatchServer *server)
{
Q_UNUSED(driver);
Q_UNUSED(settings);
return new QMapWatchlet(server);
}
Q_EXPORT_PLUGIN2(qmapwatchlet, QMapWatchletPlugin)
|