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)) {