summaryrefslogtreecommitdiffstats
path: root/kig/scripting/script-common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/scripting/script-common.cc')
-rw-r--r--kig/scripting/script-common.cc4
1 files changed, 2 insertions, 2 deletions
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::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 "
@@ -58,7 +58,7 @@ TQString ScriptType::templateCode( ScriptType::Type type, std::list<ObjectHolder
if ( !firstarg ) tempcode += ", ";
else firstarg = false;
TQString n = ( *i )->name();
- tempcode += n.isEmpty() ? temparg.tqarg( id ) : n;
+ tempcode += n.isEmpty() ? temparg.arg( id ) : n;
id++;
};
tempcode +=