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

using namespace sowatch;

const QLatin1String CompassWatchlet::myId("com.javispedro.sowatch.compass");

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