diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /karbon/commands/vcommand.cc | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
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
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; |