summaryrefslogtreecommitdiffstats
path: root/kig/scripting
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:30:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:30:46 -0600
commit999f961ff5278b84c8ffd8a91addb9343e589cf0 (patch)
treeed392c698357e3037e6d9f5f40a33797b72e6129 /kig/scripting
parent2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (diff)
downloadtdeedu-999f961ff5278b84c8ffd8a91addb9343e589cf0.tar.gz
tdeedu-999f961ff5278b84c8ffd8a91addb9343e589cf0.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kig/scripting')
-rw-r--r--kig/scripting/newscriptwizard.cc4
-rw-r--r--kig/scripting/script-common.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/kig/scripting/newscriptwizard.cc b/kig/scripting/newscriptwizard.cc
index 255a6073..e2a8fe25 100644
--- a/kig/scripting/newscriptwizard.cc
+++ b/kig/scripting/newscriptwizard.cc
@@ -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/script-common.cc b/kig/scripting/script-common.cc
index 1f5d8c4a..fbdf0a54 100644
--- a/kig/scripting/script-common.cc
+++ b/kig/scripting/script-common.cc
@@ -44,7 +44,7 @@ TQString ScriptType::templateCode( ScriptType::Type type, std::list<ObjectHolder
{
if ( type == Python )
{
- TQString tempcode = TQString::tqfromLatin1( "def calc( " );
+ TQString tempcode = TQString::fromLatin1( "def calc( " );
bool firstarg = true;
TQString temparg = i18n( "Note to translators: this should be a default "
"name for an argument in a Python function. The "