summaryrefslogtreecommitdiffstats
path: root/kig/scripting/newscriptwizard.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/scripting/newscriptwizard.cc
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/scripting/newscriptwizard.cc')
-rw-r--r--kig/scripting/newscriptwizard.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/kig/scripting/newscriptwizard.cc b/kig/scripting/newscriptwizard.cc
index 165f8e98..de959ce2 100644
--- a/kig/scripting/newscriptwizard.cc
+++ b/kig/scripting/newscriptwizard.cc
@@ -20,8 +20,8 @@
#include "script_mode.h"
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
//#include <kactionclasses.h>
//#include <kactioncollection.h>
@@ -56,7 +56,7 @@ NewScriptWizard::~NewScriptWizard()
}
}
-NewScriptWizard::NewScriptWizard( QWidget* parent, ScriptModeBase* mode )
+NewScriptWizard::NewScriptWizard( TQWidget* parent, ScriptModeBase* mode )
: NewScriptWizardBase( parent, "New Script Wizard" ),
mmode( mode )
{
@@ -97,11 +97,11 @@ NewScriptWizard::NewScriptWizard( QWidget* 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, SLOT( slotUndo() ), ac );
- KAction* redoAction = KStdAction::redo( this, SLOT( slotRedo() ), ac );
- KAction* cutAction = KStdAction::cut( this, SLOT( slotCut() ), ac );
- KAction* copyAction = KStdAction::copy( this, SLOT( slotCopy() ), ac );
- KAction* pasteAction = KStdAction::paste( this, SLOT( slotPaste() ), ac );
+ 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 );
// ... and plugging them into the popup menu (to build it, of course :) )
undoAction->plug( pm );
redoAction->plug( pm );
@@ -114,7 +114,7 @@ NewScriptWizard::NewScriptWizard( QWidget* parent, ScriptModeBase* mode )
dynamic_cast<KTextEditor::PopupMenuInterface*>( editor )->installPopup( pm );
}
- connect( this, SIGNAL( helpClicked() ), this, SLOT( slotHelpClicked() ) );
+ connect( this, TQT_SIGNAL( helpClicked() ), this, TQT_SLOT( slotHelpClicked() ) );
}
void NewScriptWizard::back()
@@ -159,11 +159,11 @@ void NewScriptWizard::accept()
void NewScriptWizard::slotHelpClicked()
{
- kapp->invokeHelp( QString::fromLatin1( "scripting" ),
- QString::fromLatin1( "kig" ) );
+ kapp->invokeHelp( TQString::fromLatin1( "scripting" ),
+ TQString::fromLatin1( "kig" ) );
}
-void NewScriptWizard::setText( const QString& text )
+void NewScriptWizard::setText( const TQString& text )
{
if ( !document )
{
@@ -175,7 +175,7 @@ void NewScriptWizard::setText( const QString& text )
}
}
-QString NewScriptWizard::text()
+TQString NewScriptWizard::text()
{
if ( !document )
{