diff options
Diffstat (limited to 'tools/dbusxml2qt3/classgen.cpp')
-rw-r--r-- | tools/dbusxml2qt3/classgen.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/dbusxml2qt3/classgen.cpp b/tools/dbusxml2qt3/classgen.cpp index 577053a..af2de88 100644 --- a/tools/dbusxml2qt3/classgen.cpp +++ b/tools/dbusxml2qt3/classgen.cpp @@ -24,7 +24,7 @@ #include <tqdom.h> #include <tqfile.h> #include <tqstringlist.h> -#include <textstream.h> +#include <tqtextstream.h> // local includes #include "classgen.h" @@ -945,13 +945,13 @@ bool ClassGenerator::finishStreams(const TQString& baseName, writeFileFooter(headerStream); writeFileFooter(sourceStream); - TQIODevice* device = headerStream.device(); + TQIODevice* tqdevice = headerStream.tqdevice(); headerStream.unsetDevice(); - delete device; + delete tqdevice; - device = sourceStream.device(); + tqdevice = sourceStream.tqdevice(); sourceStream.unsetDevice(); - delete device; + delete tqdevice; return true; } |