From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/mechanics/mechanicsgroup.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/mechanics/mechanicsgroup.h') diff --git a/src/mechanics/mechanicsgroup.h b/src/mechanics/mechanicsgroup.h index 6b49966..c3ca347 100644 --- a/src/mechanics/mechanicsgroup.h +++ b/src/mechanics/mechanicsgroup.h @@ -16,7 +16,7 @@ class MechanicsItem; class MechanicsDocument; -typedef QValueList MechanicsItemList; +typedef TQValueList MechanicsItemList; /** @author David Saxton @@ -24,6 +24,7 @@ typedef QValueList MechanicsItemList; class MechanicsGroup : public ItemGroup { Q_OBJECT + TQ_OBJECT public: MechanicsGroup( MechanicsDocument *mechanicsDocument, const char *name = 0); ~MechanicsGroup(); @@ -41,19 +42,19 @@ public: */ void setRaised( bool isRaised ); /** - * Removes all the children of the given item from the group + * Removes all the tqchildren of the given item from the group */ void removeChildren( Item *item ); bool addItem( Item *item ); bool removeItem( Item *item ); - virtual bool addQCanvasItem(QCanvasItem* item); - virtual bool contains(QCanvasItem* item) const; + virtual bool addTQCanvasItem(TQCanvasItem* item); + virtual bool tqcontains(TQCanvasItem* item) const; virtual uint count() const { return itemCount(); } virtual void deleteAllItems(); virtual void mergeGroup(ItemGroup* group); virtual void removeAllItems(); - virtual void removeQCanvasItem(QCanvasItem* item); - virtual void setItems(QCanvasItemList list); + virtual void removeTQCanvasItem(TQCanvasItem* item); + virtual void setItems(TQCanvasItemList list); /** * Sets the selected state of all items in the group */ -- cgit v1.2.1