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

using namespace sowatch;

const QLatin1String TripWatchlet::myId("com.javispedro.sowatch.trip");

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