From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- karbon/commands/vcommand.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'karbon/commands/vcommand.cc') 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; -- cgit v1.2.1