The clock is now a Plasma::Applet.

Thanks a lot to millams for helping with the porting.
Enjoy the clock! Configurability is coming!

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667677
This commit is contained in:
Riccardo Iaconelli 2007-05-23 15:47:27 +00:00
parent dacd91f859
commit 62dbab141d

View File

@ -24,11 +24,11 @@
#include <ksharedconfig.h> #include <ksharedconfig.h>
#include <plasma.h> #include <Plasma/Plasma>
#include <Plasma/DataEngine>
namespace Plasma namespace Plasma
{ {
/** /**
* @short the base Applet class * @short the base Applet class
* *
@ -87,6 +87,9 @@ class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
*/ */
virtual void constraintsUpdated(); virtual void constraintsUpdated();
public Q_SLOTS:
virtual void updated(const QString& source, const Plasma::DataEngine::Data&) = 0;
Q_SIGNALS: Q_SIGNALS:
void requestFocus( bool focus ); void requestFocus( bool focus );