summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsgroup.h
diff options
context:
space:
mode:
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
*/