summaryrefslogtreecommitdiffstats
path: root/kjsembed/kjscmd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/kjscmd.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/kjscmd.cpp')
-rw-r--r--kjsembed/kjscmd.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/kjscmd.cpp b/kjsembed/kjscmd.cpp
index 762d8715..4b6604cf 100644
--- a/kjsembed/kjscmd.cpp
+++ b/kjsembed/kjscmd.cpp
@@ -55,11 +55,11 @@ int main( int argc, char **argv )
{
bool nogui = false;
bool doexec = false;
- TTQCString appName = "kjscmd";
+ TQCString appName = "kjscmd";
// Set the name of the instance
for ( int i = 1 ; i < argc ; i++ ) {
- TTQCString arg( argv[i] );
+ TQCString arg( argv[i] );
if ( arg[0] != '-' ) {
appName = arg.mid( arg.findRev('/') );
if ( !appName )
@@ -144,8 +144,8 @@ int main( int argc, char **argv )
bool ok = part->runFile( args->arg(0) );
KJS::Completion jsres = part->completion();
if ( jsres.complType() != KJS::Normal) {
- TTQTextStream err( stderr, IO_WriteOnly );
- TTQTextStream out( stdout, IO_WriteOnly );
+ TQTextStream err( stderr, IO_WriteOnly );
+ TQTextStream out( stdout, IO_WriteOnly );
switch ( jsres.complType() ) {
case KJS::Break:
@@ -162,8 +162,8 @@ int main( int argc, char **argv )
KJS::Object exception = jsres.value().toObject(exec);
int line = exception.get(exec,KJS::Identifier("line")).toNumber(exec);
- TTQString type = exception.get(exec,KJS::Identifier("name")).toString(exec).qstring();
- TTQString message = exception.get(exec,KJS::Identifier("message")).toString(exec).qstring();
+ TQString type = exception.get(exec,KJS::Identifier("name")).toString(exec).qstring();
+ TQString message = exception.get(exec,KJS::Identifier("message")).toString(exec).qstring();
err << "Uncaught " << type << " exception at: " << line << endl;
err << message << endl;
@@ -183,7 +183,7 @@ int main( int argc, char **argv )
result = app->exec();
if ( args->isSet( "interactive" ) ) {
- part->execute( TTQString("include('cmdline.js');") );
+ part->execute( TQString("include('cmdline.js');") );
}
return result;