diff options
Diffstat (limited to 'karbon/commands/vcommand.cc')
-rw-r--r-- | karbon/commands/vcommand.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/karbon/commands/vcommand.cc b/karbon/commands/vcommand.cc index 7ba4c4be..97da53b5 100644 --- a/karbon/commands/vcommand.cc +++ b/karbon/commands/vcommand.cc @@ -31,8 +31,8 @@ VCommandHistory::VCommandHistory( KarbonPart* part ) { m_commands.setAutoDelete( true ); - m_undo = KStdAction::undo( this, SLOT( undo() ), m_part->actionCollection(), "koffice_undo" ); - m_redo = KStdAction::redo( this, SLOT( redo() ), m_part->actionCollection(), "koffice_redo" ); + m_undo = KStdAction::undo( this, TQT_SLOT( undo() ), m_part->actionCollection(), "koffice_undo" ); + m_redo = KStdAction::redo( this, TQT_SLOT( redo() ), m_part->actionCollection(), "koffice_redo" ); clear(); } @@ -82,7 +82,7 @@ VCommandHistory::addCommand( VCommand* command, bool execute ) } m_commands.append( command ); - kdDebug(38000) << "History: new command: " << m_commands.findRef( command ) << endl; + kdDebug(38000) << "History: new command: " << m_commands.tqfindRef( command ) << endl; if( execute ) { @@ -137,7 +137,7 @@ VCommandHistory::undo() updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void @@ -170,13 +170,13 @@ VCommandHistory::redo() updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void VCommandHistory::undo( VCommand* command ) { - if( ( m_commands.findRef( command ) == -1 ) || ( !command->success() ) ) + if( ( m_commands.tqfindRef( command ) == -1 ) || ( !command->success() ) ) return; command->unexecute(); @@ -186,13 +186,13 @@ VCommandHistory::undo( VCommand* command ) updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void VCommandHistory::redo( VCommand* command ) { - if( ( m_commands.findRef( command ) == -1 ) || ( command->success() ) ) + if( ( m_commands.tqfindRef( command ) == -1 ) || ( command->success() ) ) return; command->execute(); @@ -202,7 +202,7 @@ VCommandHistory::redo( VCommand* command ) updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void @@ -210,7 +210,7 @@ VCommandHistory::undoAllTo( VCommand* command ) { int to; - if( ( to = m_commands.findRef( command ) ) == -1 ) + if( ( to = m_commands.tqfindRef( command ) ) == -1 ) return; int i = m_commands.count() - 1; @@ -231,7 +231,7 @@ VCommandHistory::undoAllTo( VCommand* command ) emit commandExecuted(); updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void @@ -239,7 +239,7 @@ VCommandHistory::redoAllTo( VCommand* command ) { int to; - if( ( to = m_commands.findRef( command ) ) == -1 ) + if( ( to = m_commands.tqfindRef( command ) ) == -1 ) return; int i = 0; @@ -260,7 +260,7 @@ VCommandHistory::redoAllTo( VCommand* command ) emit commandExecuted(); updateActions(); - m_part->repaintAllViews(); + m_part->tqrepaintAllViews(); } void |