summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/dbusxml2qt3/classgen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dbusxml2qt3/classgen.cpp b/src/tools/dbusxml2qt3/classgen.cpp
index 10f982d..96967b8 100644
--- a/src/tools/dbusxml2qt3/classgen.cpp
+++ b/src/tools/dbusxml2qt3/classgen.cpp
@@ -411,6 +411,8 @@ static void openClassDeclaration(const Class& classData,
stream << " virtual ~" << classData.name << "() {}" << endl;
stream << endl;
stream << " static void buildIntrospectionData(TQDomElement& interfaceElement);" << endl;
+ stream << endl;
+ stream << " static const TQCString interface() { return TQCString(\"" << classData.dbusName << "\"); }" <<endl;
break;
case Class::Proxy: