diff options
Diffstat (limited to 'karbon/commands/vcommand.cc')
-rw-r--r-- | karbon/commands/vcommand.cc | 10 |
1 files changed, 5 insertions, 5 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; |