summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchlet.cpp
blob: efc478e82e8ef6419ef672adf3a8e1ec96964ca1 (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/map-" + server->watch()->model() + ".qml"));
}