[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [qtatspi] src: Fix proper marshal QSpiAction's
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2012-05-04 17:02:26
Message-ID: 20120504170226.F301FA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit ee28714d9a2ba5560f170fc6194de294220c62d2 by Sebastian Sauer.
Committed on 04/05/2012 at 17:55.
Pushed by sebsauer into branch 'master'.

Fix proper marshal QSpiAction's

M  +5    -1    src/struct_marshallers.cpp

http://commits.kde.org/qtatspi/ee28714d9a2ba5560f170fc6194de294220c62d2

diff --git a/src/struct_marshallers.cpp b/src/struct_marshallers.cpp
index b827b98..2cdeda2 100644
--- a/src/struct_marshallers.cpp
+++ b/src/struct_marshallers.cpp
@@ -100,7 +100,11 @@ QDBusArgument &operator<<(QDBusArgument &argument, con=
st QSpiAction &action)
 const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAction =
&action)
 {
     Q_UNUSED(action)
-    qWarning() << "QDBusArgument &operator>>(const QDBusArgument &argument=
, QSpiAction &action): implement me!";
+    argument.beginStructure();
+    argument >> action.name;
+    argument >> action.description;
+    argument >> action.keyBinding;
+    argument.endStructure();
     return argument;
 }
 =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic