summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchlet.cpp
blob: 7111c81979c616a586cc7f103deaf66bb29dcc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <QtCore/QDebug>

#include "qmsgwatchlet.h"

QTM_USE_NAMESPACE
using namespace sowatch;

QMsgWatchlet::QMsgWatchlet(WatchServer* server) :
	DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg"),
    _qms(new QMessageService(this))
{
	setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml"));
}