summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsgroup.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/mechanics/mechanicsgroup.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
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
Diffstat (limited to 'src/mechanics/mechanicsgroup.h')
-rw-r--r--src/mechanics/mechanicsgroup.h13
1 files changed, 7 insertions, 6 deletions
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<MechanicsItem*> MechanicsItemList;
+typedef TQValueList<MechanicsItem*> MechanicsItemList;
/**
@author David Saxton
@@ -24,6 +24,7 @@ typedef QValueList<MechanicsItem*> 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
*/