summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchlet.cpp
blob: 35a99d879f42cb4aeefe170aee21ba8487ddd0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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"));
}