summaryrefslogtreecommitdiffstats
path: root/src/tools/dbusxml2qt3/methodgen.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-20 13:49:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-20 13:56:56 +0900
commit81cebe1f2041581a9a8b5d03bc01848df5d95055 (patch)
tree64d8dc3a16b96ff6c951ac4e1b0d38905273d8f6 /src/tools/dbusxml2qt3/methodgen.h
parent4d6cf58ef2b1d805b510f5e4eda97939dfac4a43 (diff)
downloaddbus-1-tqt-81cebe1f.tar.gz
dbus-1-tqt-81cebe1f.zip
Fixed direction of signals in generated code. This resolves issue #19.
This commit is partially based on work done by Emanoil Kotsev <deloptes@gmail.com>. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'src/tools/dbusxml2qt3/methodgen.h')
-rw-r--r--src/tools/dbusxml2qt3/methodgen.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/dbusxml2qt3/methodgen.h b/src/tools/dbusxml2qt3/methodgen.h
index 9954fb2..7ee4ce6 100644
--- a/src/tools/dbusxml2qt3/methodgen.h
+++ b/src/tools/dbusxml2qt3/methodgen.h
@@ -58,7 +58,14 @@ public:
class Method
{
public:
+ enum Type
+ {
+ _Method,
+ _Signal
+ };
+
TQString name;
+ Type type;
TQValueList<Argument> arguments;
bool noReply;
bool async;