diff options
Diffstat (limited to 'src/mechanics/mechanicsdocument.h')
-rw-r--r-- | src/mechanics/mechanicsdocument.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/mechanics/mechanicsdocument.h b/src/mechanics/mechanicsdocument.h index dfe454f..80b1206 100644 --- a/src/mechanics/mechanicsdocument.h +++ b/src/mechanics/mechanicsdocument.h @@ -18,8 +18,8 @@ class MechanicsGroup; class MechanicsItem; class MechanicsSimulation; -typedef QValueList<MechanicsItem*> MechItemList; -typedef QValueList<MechanicsItem*> MechanicsItemList; +typedef TQValueList<MechanicsItem*> MechItemList; +typedef TQValueList<MechanicsItem*> MechanicsItemList; /** @author David Saxton @@ -27,35 +27,36 @@ typedef QValueList<MechanicsItem*> MechanicsItemList; class MechanicsDocument : public ItemDocument { Q_OBJECT + TQ_OBJECT public: - MechanicsDocument( const QString &caption, KTechlab *ktechlab, const char *name = 0 ); + MechanicsDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0 ); ~MechanicsDocument(); virtual View *createView( ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l ); - virtual bool isValidItem( const QString &itemId ); + virtual bool isValidItem( const TQString &itemId ); virtual bool isValidItem( Item *item ); virtual void deleteSelection(); virtual void copy(); virtual void selectAll(); virtual ItemGroup *selectList() const; - MechanicsItem *mechanicsItemWithID( const QString &id ); - virtual Item* addItem( const QString &id, const QPoint &p, bool newItem ); + MechanicsItem *mechanicsItemWithID( const TQString &id ); + virtual Item* addItem( const TQString &id, const TQPoint &p, bool newItem ); /** - * Adds a QCanvasItem to the delete list to be deleted, when + * Adds a TQCanvasItem to the delete list to be deleted, when * flushDeleteList() is called */ - virtual void appendDeleteList( QCanvasItem *qcanvasItem ); + virtual void appendDeleteList( TQCanvasItem *qcanvasItem ); /** * Permantly deletes all items that have been added to the delete list with - * the appendDeleteList( QCanvasItem *qcanvasItem ) function. + * the appendDeleteList( TQCanvasItem *qcanvasItem ) function. */ virtual void flushDeleteList(); /** * Register an item with the ICNDocument. */ - virtual bool registerItem( QCanvasItem *qcanvasItem ); + virtual bool registerItem( TQCanvasItem *qcanvasItem ); protected: MechanicsGroup *m_selectList; |