From 60ed98c90ba9ee5c4910a36fb39fb3118f383128 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sat, 14 Mar 2015 01:27:10 -0400 Subject: Add the ability to set/use custom timezones on the system - defaulting to the system time (whatever that might be). --- lumina-desktop/panel-plugins/clock/LClock.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lumina-desktop/panel-plugins/clock/LClock.h') diff --git a/lumina-desktop/panel-plugins/clock/LClock.h b/lumina-desktop/panel-plugins/clock/LClock.h index 1e4c8294..8156e7d8 100644 --- a/lumina-desktop/panel-plugins/clock/LClock.h +++ b/lumina-desktop/panel-plugins/clock/LClock.h @@ -13,6 +13,7 @@ #include #include #include +#include #include "../LPPlugin.h" @@ -26,7 +27,8 @@ private: QTimer *timer; QLabel *labelWidget; QString timefmt, datefmt; - bool deftime, defdate; + bool deftime, defdate, useTZ; + QTimeZone TZ; private slots: void updateTime(); -- cgit