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