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:
parent
dacd91f859
commit
62dbab141d
9
applet.h
9
applet.h
@ -24,15 +24,15 @@
|
|||||||
|
|
||||||
#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
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
|
class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
|
||||||
{
|
{
|
||||||
@ -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 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user