diff options
Diffstat (limited to 'src/kbfxplasmacanvasstack.h')
-rw-r--r-- | src/kbfxplasmacanvasstack.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/kbfxplasmacanvasstack.h b/src/kbfxplasmacanvasstack.h index 91ad67c..386c9b5 100644 --- a/src/kbfxplasmacanvasstack.h +++ b/src/kbfxplasmacanvasstack.h @@ -22,8 +22,8 @@ #ifndef KBFX_PLASMA_CANVAS_STACK_H #define KBFX_PLASMA_CANVAS_STACK_H -#include <qobject.h> -#include <qptrlist.h> +#include <tqobject.h> +#include <tqptrlist.h> #include <kbfxplasmacanvasstackdata.h> //#include "kbfxplasmacanvasgroup.h" #include "kbfxplasmacanvasgroupview.h" @@ -33,22 +33,23 @@ This class will manager a list of Grouplists. **/ -class KbfxPlasmaCanvasStack:public QObject +class KbfxPlasmaCanvasStack:public TQObject { Q_OBJECT + TQ_OBJECT public: - typedef QPtrList<KbfxPlasmaCanvasGroupView> groupPtrList; - typedef QMap<QString,uint> Dict;//DEPRECATED - typedef QMap<KbfxPlasmaCanvasStackData,uint> DataDict; + typedef TQPtrList<KbfxPlasmaCanvasGroupView> groupPtrList; + typedef TQMap<TQString,uint> Dict;//DEPRECATED + typedef TQMap<KbfxPlasmaCanvasStackData,uint> DataDict; KbfxPlasmaCanvasStack(); virtual ~KbfxPlasmaCanvasStack(); void addGroup ( KbfxPlasmaCanvasGroupView* ); void deleteGroup ( KbfxPlasmaCanvasGroupView* ); - KbfxPlasmaCanvasStack* contains ( KbfxPlasmaCanvasGroupView* ); - QString getItemName ( int ); + KbfxPlasmaCanvasStack* tqcontains ( KbfxPlasmaCanvasGroupView* ); + TQString getItemName ( int ); virtual int rtti() {return 1006;} void predend ( KbfxPlasmaCanvasGroupView* ); void append ( KbfxPlasmaCanvasGroupView* ); @@ -63,13 +64,13 @@ class KbfxPlasmaCanvasStack:public QObject { return m_width; } - QString name() {return m_name;} - void setName ( QString name ) { m_name = name;} - bool contains ( QString ); - KbfxPlasmaCanvasGroupView * activeViewByName ( QString name ); + TQString name() {return m_name;} + void setName ( TQString name ) { m_name = name;} + bool tqcontains ( TQString ); + KbfxPlasmaCanvasGroupView * activeViewByName ( TQString name ); public slots: void raise ( uint id ); - void raiseByName ( QString name ); + void raiseByName ( TQString name ); private: int m_x; int m_y; @@ -81,7 +82,7 @@ class KbfxPlasmaCanvasStack:public QObject groupPtrList m_groupChain; Dict m_dict; DataDict m_dataDict; - QString m_name; + TQString m_name; //state variables }; |