diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:17 -0600 |
commit | 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch) | |
tree | cc90a09df2d1fd6d956cc084529a62d354316ad3 /kig/scripting/script-common.cc | |
parent | 174fd5e23c68598774706ea9b571d3d178e36b81 (diff) | |
download | tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kig/scripting/script-common.cc')
-rw-r--r-- | kig/scripting/script-common.cc | 4 |
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 += |