From ab51f6a1367bd94d17209f6d8b327ab5e7eec56f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:34:26 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- tools/dbusxml2qt3/classgen.cpp | 10 +++++----- tools/dbusxml2qt3/main.cpp | 2 +- tools/dbusxml2qt3/methodgen.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/dbusxml2qt3/classgen.cpp b/tools/dbusxml2qt3/classgen.cpp index af2de88..577053a 100644 --- a/tools/dbusxml2qt3/classgen.cpp +++ b/tools/dbusxml2qt3/classgen.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include // local includes #include "classgen.h" @@ -945,13 +945,13 @@ bool ClassGenerator::finishStreams(const TQString& baseName, writeFileFooter(headerStream); writeFileFooter(sourceStream); - TQIODevice* tqdevice = headerStream.tqdevice(); + TQIODevice* device = headerStream.device(); headerStream.unsetDevice(); - delete tqdevice; + delete device; - tqdevice = sourceStream.tqdevice(); + device = sourceStream.device(); sourceStream.unsetDevice(); - delete tqdevice; + delete device; return true; } diff --git a/tools/dbusxml2qt3/main.cpp b/tools/dbusxml2qt3/main.cpp index cdc0a98..b58f5cf 100644 --- a/tools/dbusxml2qt3/main.cpp +++ b/tools/dbusxml2qt3/main.cpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include // local includes #include "classgen.h" diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp index ec569ab..475d5e4 100644 --- a/tools/dbusxml2qt3/methodgen.cpp +++ b/tools/dbusxml2qt3/methodgen.cpp @@ -22,7 +22,7 @@ // TQt includes #include -#include +#include // local includes #include "methodgen.h" -- cgit v1.2.1