summaryrefslogtreecommitdiffstats
path: root/kig/scripting/newscriptwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/scripting/newscriptwizard.cpp')
-rw-r--r--kig/scripting/newscriptwizard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kig/scripting/newscriptwizard.cpp b/kig/scripting/newscriptwizard.cpp
index 9cb4d9e2..0268b67c 100644
--- a/kig/scripting/newscriptwizard.cpp
+++ b/kig/scripting/newscriptwizard.cpp
@@ -97,11 +97,11 @@ NewScriptWizard::NewScriptWizard( TQWidget* parent, ScriptModeBase* mode )
TDEPopupMenu* pm = new TDEPopupMenu( editor );
// creating the actions for the code editor...
TDEActionCollection* ac = new TDEActionCollection( editor );
- TDEAction* undoAction = KStdAction::undo( TQT_TQOBJECT(this), TQT_SLOT( slotUndo() ), ac );
- TDEAction* redoAction = KStdAction::redo( TQT_TQOBJECT(this), TQT_SLOT( slotRedo() ), ac );
- TDEAction* cutAction = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT( slotCut() ), ac );
- TDEAction* copyAction = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( slotCopy() ), ac );
- TDEAction* pasteAction = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT( slotPaste() ), ac );
+ TDEAction* undoAction = KStdAction::undo( this, TQ_SLOT( slotUndo() ), ac );
+ TDEAction* redoAction = KStdAction::redo( this, TQ_SLOT( slotRedo() ), ac );
+ TDEAction* cutAction = KStdAction::cut( this, TQ_SLOT( slotCut() ), ac );
+ TDEAction* copyAction = KStdAction::copy( this, TQ_SLOT( slotCopy() ), ac );
+ TDEAction* pasteAction = KStdAction::paste( this, TQ_SLOT( slotPaste() ), ac );
// ... and plugging them into the popup menu (to build it, of course :) )
undoAction->plug( pm );
redoAction->plug( pm );
@@ -114,7 +114,7 @@ NewScriptWizard::NewScriptWizard( TQWidget* parent, ScriptModeBase* mode )
dynamic_cast<KTextEditor::PopupMenuInterface*>( editor )->installPopup( pm );
}
- connect( this, TQT_SIGNAL( helpClicked() ), this, TQT_SLOT( slotHelpClicked() ) );
+ connect( this, TQ_SIGNAL( helpClicked() ), this, TQ_SLOT( slotHelpClicked() ) );
}
void NewScriptWizard::back()
@@ -159,7 +159,7 @@ void NewScriptWizard::accept()
void NewScriptWizard::slotHelpClicked()
{
- kapp->invokeHelp( TQString::fromLatin1( "scripting" ),
+ tdeApp->invokeHelp( TQString::fromLatin1( "scripting" ),
TQString::fromLatin1( "kig" ) );
}