summaryrefslogtreecommitdiffstats
path: root/dcopjava/dcopidl2java/main.cpp
diff options
context:
space:
mode:
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 )