summaryrefslogtreecommitdiff
path: root/qorgwatchlet/qorgwatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-04 01:24:41 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-04 01:24:41 +0200
commit8af1436e92c1a853b74bacc9ac0adf012fdbc4ca (patch)
tree55273b39332a99abd213b76d78d37bfb1c3447f7 /qorgwatchlet/qorgwatchlet.cpp
parent7897ec1596a4348cd926eff7c1d4f03616ed535c (diff)
downloadsowatch-8af1436e92c1a853b74bacc9ac0adf012fdbc4ca.tar.gz
sowatch-8af1436e92c1a853b74bacc9ac0adf012fdbc4ca.zip
new calendar watchlet
Diffstat (limited to 'qorgwatchlet/qorgwatchlet.cpp')
-rw-r--r--qorgwatchlet/qorgwatchlet.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/qorgwatchlet/qorgwatchlet.cpp b/qorgwatchlet/qorgwatchlet.cpp
index 7111c81..3d042fb 100644
--- a/qorgwatchlet/qorgwatchlet.cpp
+++ b/qorgwatchlet/qorgwatchlet.cpp
@@ -1,13 +1,11 @@
#include <QtCore/QDebug>
-#include "qmsgwatchlet.h"
+#include "qorgwatchlet.h"
-QTM_USE_NAMESPACE
using namespace sowatch;
-QMsgWatchlet::QMsgWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg"),
- _qms(new QMessageService(this))
+QOrgWatchlet::QOrgWatchlet(WatchServer* server) :
+ DeclarativeWatchlet(server, "com.javispedro.sowatch.qorg")
{
- setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qorgwatchlet/" + server->watch()->model() + ".qml"));
}