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

using namespace sowatch;

QMapWatchlet::QMapWatchlet(WatchServer* server) :
	DeclarativeWatchlet(server, "com.javispedro.sowatch.map")
{

	setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/" + server->watch()->model() + ".qml"));
}