summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchlet.cpp
blob: 6a24ab90246407afe4bee9d39e1c55a4f197479c (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(Watch* watch) :
	DeclarativeWatchlet(watch, "com.javispedro.sowatch.qmsg"),
    _qms(new QMessageService(this))
{
	setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + watch->model() + ".qml"));
}