diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-28 10:37:59 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-12-02 15:02:55 +0100 |
commit | 50bc9699610eaeb084d3ba4df79abd8c0a5a14cb (patch) | |
tree | 58117267040f1a48c111d0d460bc23834fd287d2 /tools | |
parent | 31217f0ec11b6b5600e54c3e055b72df935d116b (diff) | |
download | dbus-1-tqt-50bc9699610eaeb084d3ba4df79abd8c0a5a14cb.tar.gz dbus-1-tqt-50bc9699610eaeb084d3ba4df79abd8c0a5a14cb.zip |
Generate synchronous methods alongside asynchronous methods
(cherry picked from commit a111d47e9cf09a4a3dde3eb1b4ff21ce5fa25fa6)
Diffstat (limited to 'tools')
-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 5b63071..3ec5d87 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); |