diff options
Diffstat (limited to 'src/kbfxplasmacanvasgroup.h')
-rw-r--r-- | src/kbfxplasmacanvasgroup.h | 29 |
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; |