From 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:47:17 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kig/scripting/newscriptwizard.cc | 6 +++--- kig/scripting/newscriptwizardbase.ui | 2 +- kig/scripting/script-common.cc | 4 ++-- kig/scripting/script_mode.cc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kig/scripting') diff --git a/kig/scripting/newscriptwizard.cc b/kig/scripting/newscriptwizard.cc index 255a6073..c0fc08ec 100644 --- a/kig/scripting/newscriptwizard.cc +++ b/kig/scripting/newscriptwizard.cc @@ -21,7 +21,7 @@ #include "script_mode.h" #include -#include +#include //#include //#include @@ -159,8 +159,8 @@ void NewScriptWizard::accept() void NewScriptWizard::slotHelpClicked() { - kapp->invokeHelp( TQString::tqfromLatin1( "scripting" ), - TQString::tqfromLatin1( "kig" ) ); + kapp->invokeHelp( TQString::fromLatin1( "scripting" ), + TQString::fromLatin1( "kig" ) ); } void NewScriptWizard::setText( const TQString& text ) diff --git a/kig/scripting/newscriptwizardbase.ui b/kig/scripting/newscriptwizardbase.ui index 8c58bd2e..a26dda29 100644 --- a/kig/scripting/newscriptwizardbase.ui +++ b/kig/scripting/newscriptwizardbase.ui @@ -34,7 +34,7 @@ Select the argument objects ( if any ) in the Kig window and press "Next". - + AlignCenter diff --git a/kig/scripting/script-common.cc b/kig/scripting/script-common.cc index 1f5d8c4a..2eb2da81 100644 --- a/kig/scripting/script-common.cc +++ b/kig/scripting/script-common.cc @@ -44,7 +44,7 @@ TQString ScriptType::templateCode( ScriptType::Type type, std::listname(); - tempcode += n.isEmpty() ? temparg.tqarg( id ) : n; + tempcode += n.isEmpty() ? temparg.arg( id ) : n; id++; }; tempcode += diff --git a/kig/scripting/script_mode.cc b/kig/scripting/script_mode.cc index 945ad62f..d22fa40c 100644 --- a/kig/scripting/script_mode.cc +++ b/kig/scripting/script_mode.cc @@ -204,7 +204,7 @@ bool ScriptCreationMode::queryFinish() KMessageBox::detailedSorry( mwizard, i18n( "The Python interpreter caught an error during the execution of your " "script. Please fix the script and click the Finish button again." ), - i18n( "The Python Interpreter generated the following error output:\n%1").tqarg( errtrace.data() ) ); + i18n( "The Python Interpreter generated the following error output:\n%1").arg( errtrace.data() ) ); } else { @@ -322,7 +322,7 @@ bool ScriptEditMode::queryFinish() KMessageBox::detailedSorry( mpart.widget(), i18n( "The Python interpreter caught an error during the execution of your " "script. Please fix the script." ), - i18n( "The Python Interpreter generated the following error output:\n%1").tqarg( errtrace.data() ) ); + i18n( "The Python Interpreter generated the following error output:\n%1").arg( errtrace.data() ) ); } else { -- cgit v1.2.1