summaryrefslogtreecommitdiffstats
path: root/karbon/commands
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /karbon/commands
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-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')
-rw-r--r--karbon/commands/vcommand.cc10
-rw-r--r--karbon/commands/vreplacingcmd.h2
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.
*/