|
|
@ -541,6 +541,10 @@ static void writeNodeIntrospection(const Class& classData,
|
|
|
|
|
|
|
|
|
|
|
|
stream << " TQDomDocument doc;" << endl;
|
|
|
|
stream << " TQDomDocument doc;" << endl;
|
|
|
|
stream << " TQDomElement nodeElement = doc.createElement(\"node\");" << endl;
|
|
|
|
stream << " TQDomElement nodeElement = doc.createElement(\"node\");" << endl;
|
|
|
|
|
|
|
|
stream << " if ( !objectPath.isEmpty() && objectPath.compare(\"/\") != 0 )" << endl;
|
|
|
|
|
|
|
|
stream << " {" << endl;
|
|
|
|
|
|
|
|
stream << " nodeElement.setAttribute ( \"name\", objectPath );" << endl;
|
|
|
|
|
|
|
|
stream << " }" << endl;
|
|
|
|
stream << " TQDomElement interfaceElement = doc.createElement(\"interface\");"
|
|
|
|
stream << " TQDomElement interfaceElement = doc.createElement(\"interface\");"
|
|
|
|
<< endl;
|
|
|
|
<< endl;
|
|
|
|
stream << " org::freedesktop::DBus::Introspectable"
|
|
|
|
stream << " org::freedesktop::DBus::Introspectable"
|
|
|
|