diff options
author | Slávek Banko <[email protected]> | 2013-11-18 21:21:15 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-11-18 21:21:15 +0100 |
commit | 9a134f5699708c76d4abd12da71c9df03830556a (patch) | |
tree | b44367da3f90252d7d9dffd12c71e1160174bd11 /tools | |
parent | 52933e3b969e8b44f6a94db486cb27ddf5c322d7 (diff) | |
download | dbus-1-tqt-9a134f5699708c76d4abd12da71c9df03830556a.tar.gz dbus-1-tqt-9a134f5699708c76d4abd12da71c9df03830556a.zip |
Add support for data type UnixFD
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dbusxml2qt3/methodgen.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp index 8fe0741..ad3bc47 100644 --- a/tools/dbusxml2qt3/methodgen.cpp +++ b/tools/dbusxml2qt3/methodgen.cpp @@ -105,6 +105,15 @@ static bool parseDBusSignature(const TQString& signature, Argument& argument) argument.forwardDeclarations.append("class TQT_DBusObjectPath"); argument.sourceIncludes["tqdbus"].append("<tqdbusobjectpath.h>"); } + else if (signature == "h") + { + argument.signature = "TQT_DBuxUnixFd"; + argument.accessor = "UnixFd"; + argument.isPrimitive = false; + + argument.forwardDeclarations.append("class TQT_DBusUnixFd"); + argument.sourceIncludes["tqdbus"].append("<tqdbusunixfd.h>"); + } else if (signature == "v") { argument.signature = "TQT_DBusVariant"; |