diff options
author | Timothy Pearson <[email protected]> | 2012-11-28 10:37:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-11-28 10:37:59 -0600 |
commit | a111d47e9cf09a4a3dde3eb1b4ff21ce5fa25fa6 (patch) | |
tree | 16b9ec00ea19560e24363434159e4465771702ab /tools/dbusxml2qt3/methodgen.cpp | |
parent | 795f1575cbdb78ac54860289b3c1c47fe89659b3 (diff) | |
download | dbus-1-tqt-a111d47e9cf09a4a3dde3eb1b4ff21ce5fa25fa6.tar.gz dbus-1-tqt-a111d47e9cf09a4a3dde3eb1b4ff21ce5fa25fa6.zip |
Generate synchronous methods alongside asynchronous methods
Diffstat (limited to 'tools/dbusxml2qt3/methodgen.cpp')
-rw-r--r-- | tools/dbusxml2qt3/methodgen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp index 2374a98..7e0b633 100644 --- a/tools/dbusxml2qt3/methodgen.cpp +++ b/tools/dbusxml2qt3/methodgen.cpp @@ -592,6 +592,10 @@ bool MethodGenerator::extractMethods(const TQDomElement& interfaceElement, { method.async = hasAnnotation(element, "org.freedesktop.DBus.GLib.Async"); classData.methods.append(method); + if (method.async) { + method.async = false; + classData.methods.append(method); + } } else classData.msignals.append(method); |