summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2019-04-28 00:33:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-28 00:33:46 +0900
commit3997d3cdec601355635a21e1358310c9ab6638b7 (patch)
tree698478f3f07831efbfbb9efe8d696119b0b0a492
parent14aebff1f4cb2639a2c5160b8c5518b9298052f2 (diff)
downloaddbus-1-tqt-3997d3cdec601355635a21e1358310c9ab6638b7.tar.gz
dbus-1-tqt-3997d3cdec601355635a21e1358310c9ab6638b7.zip
Create node class with ending with Node.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r--src/tools/dbusxml2qt3/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/dbusxml2qt3/main.cpp b/src/tools/dbusxml2qt3/main.cpp
index ea135f7..2eed886 100644
--- a/src/tools/dbusxml2qt3/main.cpp
+++ b/src/tools/dbusxml2qt3/main.cpp
@@ -358,7 +358,10 @@ int main(int argc, char** argv)
TQTextStream sourceStream;
TQString baseName = options["node"];
- if (baseName.isEmpty()) baseName = classData.name.lower() + "node";
+ if (baseName.isEmpty()) {
+ baseName = classData.name.lower() + "node";
+ classData.name += "Node";
+ }
if (!ClassGenerator::initStreams(baseName, headerStream, sourceStream))
{