author | tille <tille> | 2002-07-17 12:06:33 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-17 12:06:33 (UTC) |
commit | c79db8d80c67bc66d49f8150ff85d0cc5f7e5f0e (patch) (side-by-side diff) | |
tree | 19ba9386d43c7d5834e50d051d498b6dec6a0d0b /noncore/settings/netsystemtime/ntp.cpp | |
parent | 37e199dcbb75c057b30a6cc96b1a8dabbf9036cd (diff) | |
download | opie-c79db8d80c67bc66d49f8150ff85d0cc5f7e5f0e.zip opie-c79db8d80c67bc66d49f8150ff85d0cc5f7e5f0e.tar.gz opie-c79db8d80c67bc66d49f8150ff85d0cc5f7e5f0e.tar.bz2 |
reload applets
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 15dae93..6c5aaf5 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp @@ -151,13 +151,16 @@ void Ntp::ntpFinished(OProcess *p) Global::writeHWClock(); // since time has changed quickly load in the datebookdb // to allow the alarm server to get a better grip on itself // (example re-trigger alarms for when we travel back in time) DateBookDB db; - + + QCopEnvelope timeApplet( "QPE/TaskBar", "reloadApplets()" ); + timeApplet << ""; + Config cfg("ntp",Config::User); cfg.setGroup("lookups"); int lastLookup = cfg.readNumEntry("time",0); int lookupCount = cfg.readNumEntry("count",0); bool lastNtp = cfg.readBoolEntry("lastNtp",false); int time = TimeConversion::toUTC( QDateTime::currentDateTime() ); |