summaryrefslogtreecommitdiffstats
path: root/dcopjava/dcopidl2java/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /dcopjava/dcopidl2java/main.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'dcopjava/dcopidl2java/main.cpp')
-rw-r--r--dcopjava/dcopidl2java/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/dcopjava/dcopidl2java/main.cpp b/dcopjava/dcopidl2java/main.cpp
index 913b7e7a..97ba153d 100644
--- a/dcopjava/dcopidl2java/main.cpp
+++ b/dcopjava/dcopidl2java/main.cpp
@@ -48,7 +48,7 @@ int main( int argc, char** argv )
int argpos = 1;
bool generate_skel = TRUE;
bool generate_stub = TRUE;
- TQString package;
+ TTQString package;
while (argc > 2) {
@@ -67,7 +67,7 @@ int main( int argc, char** argv )
else if ( strcmp( argv[argpos], "--package" ) == 0 )
{
if (argpos + 1 < argc)
- package = TQString(argv[argpos+1]);
+ package = TTQString(argv[argpos+1]);
for (int i = argpos; i < argc - 2; i++) argv[i] = argv[i+2];
argc -= 2;
@@ -78,18 +78,18 @@ int main( int argc, char** argv )
}
}
- TQFile in( argv[argpos] );
+ TTQFile in( argv[argpos] );
if ( !in.open( IO_ReadOnly ) )
qFatal("Could not read %s", argv[argpos] );
- TQDomDocument doc;
+ TTQDomDocument doc;
doc.setContent( &in );
- TQDomElement de = doc.documentElement();
+ TTQDomElement de = doc.documentElement();
ASSERT( de.tagName() == "DCOP-IDL" );
- TQString base( argv[argpos] );
- TQString idl = base;
+ TTQString base( argv[argpos] );
+ TTQString idl = base;
int pos = base.findRev( '.' );
if ( pos != -1 )