summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasstack.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmacanvasstack.h
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz
kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxplasmacanvasstack.h')
-rw-r--r--src/kbfxplasmacanvasstack.h29
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
};