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

using namespace sowatch;

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

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