summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasgroup.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/kbfxplasmacanvasgroup.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/kbfxplasmacanvasgroup.h')
-rw-r--r--src/kbfxplasmacanvasgroup.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/kbfxplasmacanvasgroup.h b/src/kbfxplasmacanvasgroup.h
index 1d6e2da..5ee60be 100644
--- a/src/kbfxplasmacanvasgroup.h
+++ b/src/kbfxplasmacanvasgroup.h
@@ -22,22 +22,23 @@
#ifndef KBFX_PLASMA_CANVAS_GROUP_H
#define KBFX_PLASMA_CANVAS_GROUP_H
-#include <qmap.h>
-#include <qptrlist.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
#include "kbfxplasmacanvasabstractitem.h"
-#include <qobject.h>
-class QCanvasItem;
-class QRect;
+#include <tqobject.h>
+class TQCanvasItem;
+class TQRect;
-class KbfxPlasmaCanvasGroup:public QObject
+class KbfxPlasmaCanvasGroup:public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- typedef QPtrList<KbfxPlasmaCanvasAbstractItem> ItemList;
- typedef QPtrListIterator<KbfxPlasmaCanvasAbstractItem> ItemListIter;
+ typedef TQPtrList<KbfxPlasmaCanvasAbstractItem> ItemList;
+ typedef TQPtrListIterator<KbfxPlasmaCanvasAbstractItem> ItemListIter;
//a Global mapof Groups
- typedef QMap<KbfxPlasmaCanvasAbstractItem*,KbfxPlasmaCanvasGroup*> ItemListMap;
+ typedef TQMap<KbfxPlasmaCanvasAbstractItem*,KbfxPlasmaCanvasGroup*> ItemListMap;
KbfxPlasmaCanvasGroup();
virtual ~KbfxPlasmaCanvasGroup();
@@ -46,15 +47,15 @@ class KbfxPlasmaCanvasGroup:public QObject
bool deleteItem ( KbfxPlasmaCanvasAbstractItem * );
void move ( int x,int y );
void moveBy ( int x,int y );
- QString name();
- QRect boundingRect();
+ TQString name();
+ TQRect boundingRect();
int count();
int height();
int width();
static KbfxPlasmaCanvasGroup * groupContaining ( KbfxPlasmaCanvasAbstractItem * );
- QString groupName();
+ TQString groupName();
uint groupID();
- void setGroupName ( QString name );
+ void setGroupName ( TQString name );
void setGroupID ( uint );
bool isShaded() {return m_shaded;};
virtual int rtti() { return 1005;}
@@ -82,7 +83,7 @@ class KbfxPlasmaCanvasGroup:public QObject
//state variables
bool m_shaded;
bool m_visible;
- QString m_name;
+ TQString m_name;
uint m_id;
int m_sepheight;
int m_count;