diff options
Diffstat (limited to 'dcopjava/dcopidl2java/main.cpp')
-rw-r--r-- | dcopjava/dcopidl2java/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dcopjava/dcopidl2java/main.cpp b/dcopjava/dcopidl2java/main.cpp index 1df03b98..913b7e7a 100644 --- a/dcopjava/dcopidl2java/main.cpp +++ b/dcopjava/dcopidl2java/main.cpp @@ -20,10 +20,10 @@ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ -#include <qdom.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qstring.h> +#include <tqdom.h> +#include <tqfile.h> +#include <tqtextstream.h> +#include <tqstring.h> #include <string.h> #include <stdlib.h> @@ -48,7 +48,7 @@ int main( int argc, char** argv ) int argpos = 1; bool generate_skel = TRUE; bool generate_stub = TRUE; - QString package; + TQString 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 = QString(argv[argpos+1]); + package = TQString(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 ) } } - QFile in( argv[argpos] ); + TQFile in( argv[argpos] ); if ( !in.open( IO_ReadOnly ) ) qFatal("Could not read %s", argv[argpos] ); - QDomDocument doc; + TQDomDocument doc; doc.setContent( &in ); - QDomElement de = doc.documentElement(); + TQDomElement de = doc.documentElement(); ASSERT( de.tagName() == "DCOP-IDL" ); - QString base( argv[argpos] ); - QString idl = base; + TQString base( argv[argpos] ); + TQString idl = base; int pos = base.findRev( '.' ); if ( pos != -1 ) |