summaryrefslogtreecommitdiffstats
path: root/kig/scripting/newscriptwizard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/scripting/newscriptwizard.cc')
-rw-r--r--kig/scripting/newscriptwizard.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kig/scripting/newscriptwizard.cc b/kig/scripting/newscriptwizard.cc
index de959ce2..cc3e1771 100644
--- a/kig/scripting/newscriptwizard.cc
+++ b/kig/scripting/newscriptwizard.cc
@@ -56,8 +56,8 @@ NewScriptWizard::~NewScriptWizard()
}
}
-NewScriptWizard::NewScriptWizard( TQWidget* parent, ScriptModeBase* mode )
- : NewScriptWizardBase( parent, "New Script Wizard" ),
+NewScriptWizard::NewScriptWizard( TQWidget* tqparent, ScriptModeBase* mode )
+ : NewScriptWizardBase( tqparent, "New Script Wizard" ),
mmode( mode )
{
document = KTextEditor::EditorChooser::createDocument( 0, "KTextEditor::Document" );
@@ -97,11 +97,11 @@ NewScriptWizard::NewScriptWizard( TQWidget* parent, ScriptModeBase* mode )
KPopupMenu* pm = new KPopupMenu( editor );
// creating the actions for the code editor...
KActionCollection* ac = new KActionCollection( editor );
- KAction* undoAction = KStdAction::undo( this, TQT_SLOT( slotUndo() ), ac );
- KAction* redoAction = KStdAction::redo( this, TQT_SLOT( slotRedo() ), ac );
- KAction* cutAction = KStdAction::cut( this, TQT_SLOT( slotCut() ), ac );
- KAction* copyAction = KStdAction::copy( this, TQT_SLOT( slotCopy() ), ac );
- KAction* pasteAction = KStdAction::paste( this, TQT_SLOT( slotPaste() ), ac );
+ KAction* undoAction = KStdAction::undo( TQT_TQOBJECT(this), TQT_SLOT( slotUndo() ), ac );
+ KAction* redoAction = KStdAction::redo( TQT_TQOBJECT(this), TQT_SLOT( slotRedo() ), ac );
+ KAction* cutAction = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT( slotCut() ), ac );
+ KAction* copyAction = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( slotCopy() ), ac );
+ KAction* pasteAction = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT( slotPaste() ), ac );
// ... and plugging them into the popup menu (to build it, of course :) )
undoAction->plug( pm );
redoAction->plug( pm );
@@ -159,8 +159,8 @@ void NewScriptWizard::accept()
void NewScriptWizard::slotHelpClicked()
{
- kapp->invokeHelp( TQString::fromLatin1( "scripting" ),
- TQString::fromLatin1( "kig" ) );
+ kapp->invokeHelp( TQString::tqfromLatin1( "scripting" ),
+ TQString::tqfromLatin1( "kig" ) );
}
void NewScriptWizard::setText( const TQString& text )