diff options
Diffstat (limited to 'karbon/commands')
-rw-r--r-- | karbon/commands/vcommand.cc | 10 | ||||
-rw-r--r-- | karbon/commands/vreplacingcmd.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/karbon/commands/vcommand.cc b/karbon/commands/vcommand.cc index da08d94f..a793115d 100644 --- a/karbon/commands/vcommand.cc +++ b/karbon/commands/vcommand.cc @@ -82,7 +82,7 @@ VCommandHistory::addCommand( VCommand* command, bool execute ) } m_commands.append( command ); - kdDebug(38000) << "History: new command: " << m_commands.tqfindRef( command ) << endl; + kdDebug(38000) << "History: new command: " << m_commands.findRef( command ) << endl; if( execute ) { @@ -176,7 +176,7 @@ VCommandHistory::redo() void VCommandHistory::undo( VCommand* command ) { - if( ( m_commands.tqfindRef( command ) == -1 ) || ( !command->success() ) ) + if( ( m_commands.findRef( command ) == -1 ) || ( !command->success() ) ) return; command->unexecute(); @@ -192,7 +192,7 @@ VCommandHistory::undo( VCommand* command ) void VCommandHistory::redo( VCommand* command ) { - if( ( m_commands.tqfindRef( command ) == -1 ) || ( command->success() ) ) + if( ( m_commands.findRef( command ) == -1 ) || ( command->success() ) ) return; command->execute(); @@ -210,7 +210,7 @@ VCommandHistory::undoAllTo( VCommand* command ) { int to; - if( ( to = m_commands.tqfindRef( command ) ) == -1 ) + if( ( to = m_commands.findRef( command ) ) == -1 ) return; int i = m_commands.count() - 1; @@ -239,7 +239,7 @@ VCommandHistory::redoAllTo( VCommand* command ) { int to; - if( ( to = m_commands.tqfindRef( command ) ) == -1 ) + if( ( to = m_commands.findRef( command ) ) == -1 ) return; int i = 0; diff --git a/karbon/commands/vreplacingcmd.h b/karbon/commands/vreplacingcmd.h index a4f478e3..727dc806 100644 --- a/karbon/commands/vreplacingcmd.h +++ b/karbon/commands/vreplacingcmd.h @@ -29,7 +29,7 @@ class VSelection; /** * VReplacingCmd is a generic command. Derive from it if you plan to do complex - * transformations upon selected objects which make it necessary to tqreplace + * transformations upon selected objects which make it necessary to replace * each object as a whole with a new object. */ |