summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchlet.cpp
blob: 82132db3149f750c2a61f2fd510c62a60ec66a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "qmapwatchlet.h"

using namespace sowatch;

const QLatin1String QMapWatchlet::myId("com.javispedro.sowatch.qmap");

QMapWatchlet::QMapWatchlet(WatchServer* server) :
	DeclarativeWatchlet(server, myId)
{
	setFullUpdateMode(true);
	setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/" + server->watch()->model() + ".qml"));
}