propagate changes from the Date/Time control module (kcmclock)
authorLukas Tinkl <lukas@kde.org>
Fri, 21 Sep 2012 12:50:56 +0000 (14:50 +0200)
committerLukas Tinkl <lukas@kde.org>
Fri, 21 Sep 2012 12:54:47 +0000 (14:54 +0200)
commit40e9065ebc3b0f0549943b05778bc008e51012ea
treed2fd0a3f52b63227b1dd0e251429d93dc38f56da
parent9994e178b790b03a464c335e624366f82f0da643
propagate changes from the Date/Time control module (kcmclock)

by sending a DBUS signal "clockUpdated" which interested parties
can react to.

Fix the "time" dataengine to react to that signal.

Also tweak the analog/digital clocks so that they react
on updated data (I made sure no unnecessary repaints are made).

Fix the analog clock to update every minute at most (60000 milliseconds,
not 6000 ;)
kcontrol/dateandtime/dtime.cpp
kcontrol/dateandtime/main.cpp
kcontrol/dateandtime/main.h
plasma/generic/applets/analog-clock/clock.cpp
plasma/generic/applets/digital-clock/clock.cpp
plasma/generic/dataengines/time/timeengine.cpp