diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2019-04-28 00:32:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-28 00:32:35 +0900 |
commit | 14aebff1f4cb2639a2c5160b8c5518b9298052f2 (patch) | |
tree | 616da0f35ef59d76f56d939801898dfa82c64c6d /src | |
parent | 91e64f3ebed4c3b48e553b5fb8fbc386c2ab917e (diff) | |
download | dbus-1-tqt-14aebff1f4cb2639a2c5160b8c5518b9298052f2.tar.gz dbus-1-tqt-14aebff1f4cb2639a2c5160b8c5518b9298052f2.zip |
Fix missing interface.h in generated code and filename.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/dbusxml2qt3/classgen.cpp | 2 | ||||
-rw-r--r-- | src/tools/dbusxml2qt3/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dbusxml2qt3/classgen.cpp b/src/tools/dbusxml2qt3/classgen.cpp index 12051c0..1718340 100644 --- a/src/tools/dbusxml2qt3/classgen.cpp +++ b/src/tools/dbusxml2qt3/classgen.cpp @@ -373,7 +373,7 @@ static void writeInterfaceIncludes(const TQValueList<Class> interfaces, TQValueList<Class>::const_iterator endIt = interfaces.end(); for (; it != endIt; ++it) { - stream << "#include \"" << (*it).name.lower() << ".h\"" << endl; + stream << "#include \"" << (*it).name.lower() << "interface.h\"" << endl; } stream << "#include \"introspectableinterface.h\"" << endl; diff --git a/src/tools/dbusxml2qt3/main.cpp b/src/tools/dbusxml2qt3/main.cpp index 0208072..ea135f7 100644 --- a/src/tools/dbusxml2qt3/main.cpp +++ b/src/tools/dbusxml2qt3/main.cpp @@ -336,7 +336,7 @@ int main(int argc, char** argv) exit(3); } - nodeClassName.replace('/', "_"); + nodeClassName.replace('/', "::"); } TQStringList nameParts = TQStringList::split("::", nodeClassName); |