summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchletplugin.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
commit49c64104c0750857858504b512955d9cc31e5c42 (patch)
tree1a74e10cf42f0f08b1af64e8470825e8e1c8ea41 /qmsgwatchlet/qmsgwatchletplugin.cpp
parent24c7c2f6f1429103d922ef940c0e17a3d4778059 (diff)
downloadsowatch-49c64104c0750857858504b512955d9cc31e5c42.tar.gz
sowatch-49c64104c0750857858504b512955d9cc31e5c42.zip
update the rest of the watchlets
Diffstat (limited to 'qmsgwatchlet/qmsgwatchletplugin.cpp')
-rw-r--r--qmsgwatchlet/qmsgwatchletplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmsgwatchlet/qmsgwatchletplugin.cpp b/qmsgwatchlet/qmsgwatchletplugin.cpp
index dfabd12..91c6387 100644
--- a/qmsgwatchlet/qmsgwatchletplugin.cpp
+++ b/qmsgwatchlet/qmsgwatchletplugin.cpp
@@ -32,11 +32,11 @@ WatchletPluginInterface::WatchletInfo QMsgWatchletPlugin::describeWatchlet(const
return info;
}
-Watchlet* QMsgWatchletPlugin::getWatchlet(const QString &id, ConfigKey *config, WatchServer *server)
+Watchlet* QMsgWatchletPlugin::getWatchlet(const QString &id, ConfigKey *config, Watch *watch)
{
Q_UNUSED(config);
if (id != "com.javispedro.sowatch.qmsg") return 0;
- return new QMsgWatchlet(server);
+ return new QMsgWatchlet(watch);
}
Q_EXPORT_PLUGIN2(qmsgwatchlet, QMsgWatchletPlugin)