From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmmemento.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kpovmodeler/pmmemento.h') diff --git a/kpovmodeler/pmmemento.h b/kpovmodeler/pmmemento.h index a3ea9c98..cdbab2d2 100644 --- a/kpovmodeler/pmmemento.h +++ b/kpovmodeler/pmmemento.h @@ -27,8 +27,8 @@ #include "pmvariant.h" #include "pmcommand.h" #include "pmmetaobject.h" -#include -#include +#include +#include /** * Class used by @ref PMObjectMemento to store one value. @@ -65,7 +65,7 @@ public: /** * Stores a string */ - PMMementoData( PMMetaObject* classType, int vID, const QString& data ); + PMMementoData( PMMetaObject* classType, int vID, const TQString& data ); /** * Stores a @ref PMVector */ @@ -99,7 +99,7 @@ private: int m_valueID; }; -typedef QPtrList PMMementoDataList; +typedef TQPtrList PMMementoDataList; /** @@ -126,8 +126,8 @@ private: int m_mode; }; -typedef QPtrList PMObjectChangeList; -typedef QPtrListIterator PMObjectChangeListIterator; +typedef TQPtrList PMObjectChangeList; +typedef TQPtrListIterator PMObjectChangeListIterator; /** * Class that stores the data of povray objects for undo/redo information @@ -202,10 +202,10 @@ public: void addData( PMMetaObject* classType, int vID, const PMThreeState data ); /** - * Adds an @ref QString data object. Will be ignored if the memento + * Adds an @ref TQString data object. Will be ignored if the memento * already contains this data */ - void addData( PMMetaObject* classType, int vID, const QString& data ); + void addData( PMMetaObject* classType, int vID, const TQString& data ); /** * Adds an @ref PMVector data object. Will be ignored if the memento @@ -228,7 +228,7 @@ public: /** * Call this to store an id change */ - void addIDChange( PMMetaObject* classType, int vID, const QString& data ); + void addIDChange( PMMetaObject* classType, int vID, const TQString& data ); /** * Returns true if the memento contains changed data @@ -253,7 +253,7 @@ public: /** * Returns the old id */ - QString oldID( ) const; + TQString oldID( ) const; /** * If one object is changed, other objects can be changed as well. * @@ -289,7 +289,7 @@ private: /** * List of changes */ - QPtrList m_changedObjects; + TQPtrList m_changedObjects; PMObjectChange* m_pOriginatorChange; PMObject* m_pOriginator; }; @@ -298,19 +298,19 @@ private: /** * Iterator for memento data */ -class PMMementoDataIterator : public QPtrListIterator +class PMMementoDataIterator : public TQPtrListIterator { public: PMMementoDataIterator( const PMMemento& m ) - : QPtrListIterator( m.m_data ) + : TQPtrListIterator( m.m_data ) { } PMMementoDataIterator( const PMMemento* m ) - : QPtrListIterator( m->m_data ) + : TQPtrListIterator( m->m_data ) { } PMMementoDataIterator( const PMMementoDataList& l ) - : QPtrListIterator( l ) + : TQPtrListIterator( l ) { } }; -- cgit v1.2.3