summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdeletecommand.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmdeletecommand.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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/pmdeletecommand.cpp')
-rw-r--r--kpovmodeler/pmdeletecommand.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/pmdeletecommand.cpp b/kpovmodeler/pmdeletecommand.cpp
index fa5ff47b..a4629728 100644
--- a/kpovmodeler/pmdeletecommand.cpp
+++ b/kpovmodeler/pmdeletecommand.cpp
@@ -24,7 +24,7 @@
#include <klocale.h>
#include <kmessagebox.h>
-#include <qptrdict.h>
+#include <tqptrdict.h>
PMDeleteCommand::PMDeleteCommand( PMObject* obj )
: PMCommand( i18n( "Delete %1" ).arg( obj->name( ) ) )
@@ -140,7 +140,7 @@ void PMDeleteCommand::execute( PMCommandManager* theManager )
}
}
- QPtrListIterator<PMMemento> mit( m_dataChanges );
+ TQPtrListIterator<PMMemento> mit( m_dataChanges );
for( ; mit.current( ); ++mit )
{
PMObjectChangeListIterator change = mit.current( )->changedObjects( );
@@ -182,7 +182,7 @@ void PMDeleteCommand::undo( PMCommandManager* theManager )
for( ; dit.current( ); ++dit )
theManager->cmdObjectChanged( dit.current( ), PMCData );
- QPtrListIterator<PMMemento> mit( m_dataChanges );
+ TQPtrListIterator<PMMemento> mit( m_dataChanges );
for( ; mit.current( ); ++mit )
{
mit.current( )->originator( )->restoreMemento( mit.current( ) );
@@ -206,7 +206,7 @@ int PMDeleteCommand::errorFlags( PMPart* )
bool error = false;
// dictionary of deleted objects
- QPtrDict<bool> m_deletedObjects( 1009 );
+ TQPtrDict<bool> m_deletedObjects( 1009 );
m_deletedObjects.setAutoDelete( true );
PMDeleteInfoListIterator it( m_infoList );
for( ; it.current( ); ++it )