diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmmovecommand.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmmovecommand.cpp')
-rw-r--r-- | kpovmodeler/pmmovecommand.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpovmodeler/pmmovecommand.cpp b/kpovmodeler/pmmovecommand.cpp index 1d70f3e0..bb75b0e4 100644 --- a/kpovmodeler/pmmovecommand.cpp +++ b/kpovmodeler/pmmovecommand.cpp @@ -27,7 +27,7 @@ #include "pmdebug.h" #include <klocale.h> -#include <qptrdict.h> +#include <tqptrdict.h> PMMoveCommand::PMMoveCommand( PMObject* obj, PMObject* parent, PMObject* after ) : PMCommand( i18n( "Move %1" ).arg( obj->description( ) ) ) @@ -172,7 +172,7 @@ void PMMoveCommand::execute( PMCommandManager* theManager ) } } - QPtrListIterator<PMMemento> mit( m_dataChanges ); + TQPtrListIterator<PMMemento> mit( m_dataChanges ); for( ; mit.current( ); ++mit ) { PMObjectChangeListIterator change = mit.current( )->changedObjects( ); @@ -212,7 +212,7 @@ void PMMoveCommand::undo( PMCommandManager* theManager ) theManager->cmdObjectChanged( obj, PMCAdd ); } - QPtrListIterator<PMMemento> mit( m_dataChanges ); + TQPtrListIterator<PMMemento> mit( m_dataChanges ); for( ; mit.current( ); ++mit ) { mit.current( )->originator( )->restoreMemento( mit.current( ) ); @@ -238,11 +238,11 @@ int PMMoveCommand::errorFlags( PMPart* ) bool stop; // dictionary of deleted objects - QPtrDict<bool> deletedObjects( 1009 ); + TQPtrDict<bool> deletedObjects( 1009 ); deletedObjects.setAutoDelete( true ); - QPtrDict<bool> objectsAfterInsertPosition( 1009 ); + TQPtrDict<bool> objectsAfterInsertPosition( 1009 ); objectsAfterInsertPosition.setAutoDelete( true ); - QPtrDict<bool> declaresBeforeInsertPosition( 199 ); + TQPtrDict<bool> declaresBeforeInsertPosition( 199 ); declaresBeforeInsertPosition.setAutoDelete( true ); @@ -441,7 +441,7 @@ int PMMoveCommand::errorFlags( PMPart* ) if( linked ) { obj = info->deletedObject( ); - QString name = obj->name( ); + TQString name = obj->name( ); decl = ( PMDeclare* ) linked; if( name.isEmpty( ) ) |