summaryrefslogtreecommitdiff
path: root/qmapwatchlet/compasswatchlet.cpp
blob: 2ebfc42df6013c2a8ec9bd94941c9e6bdfa4015b (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(Watch* watch) :
	DeclarativeWatchlet(watch, myId)
{
	setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/compass-" + watch->model() + ".qml"));
}