diff options
author | Timothy Pearson <[email protected]> | 2013-05-17 22:14:30 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-05-17 22:14:30 -0500 |
commit | 6d564efb42ba51ff8e3d6512aa8edb964b6f2306 (patch) | |
tree | a4dfa9a35410fb2dd58d29326c34573c657fe3ed /tools/dbusxml2qt3/classgen.cpp | |
parent | 796df5ebfc74d263bb3ed055c64de9627d47c430 (diff) | |
download | dbus-1-tqt-6d564efb42ba51ff8e3d6512aa8edb964b6f2306.tar.gz dbus-1-tqt-6d564efb42ba51ff8e3d6512aa8edb964b6f2306.zip |
Add ability to obtain error messages from async calls
Diffstat (limited to 'tools/dbusxml2qt3/classgen.cpp')
-rw-r--r-- | tools/dbusxml2qt3/classgen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dbusxml2qt3/classgen.cpp b/tools/dbusxml2qt3/classgen.cpp index 040a969..12051c0 100644 --- a/tools/dbusxml2qt3/classgen.cpp +++ b/tools/dbusxml2qt3/classgen.cpp @@ -243,6 +243,8 @@ static void writeHeaderIncludes(const Class& classData, Class::Role role, break; } + includes["tqdbus"].insertString("<tqdbuserror.h>"); + if (!includes["TQt"].isEmpty()) writeIncludes("TQt", includes["TQt"].keys(), stream); @@ -663,6 +665,7 @@ static void writeSignalDeclarations(const Class& classData, Class::Role role, case Class::Proxy: stream << "signals:" << endl; + stream << " void AsyncErrorResponseDetected(int asyncCallId, const TQT_DBusError error);" << endl << endl; prefix = " void "; break; |