diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-29 14:31:09 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 09:43:28 (GMT) |
commit | bda9c20a556aa6ab6ccba978f7fc1ffe02c50813 (patch) | |
tree | dbc8d5afb250ff720be025e15e2387b58ac21f42 /src/dbus/qdbusargument_p.h | |
parent | 96152ee50dfca7adf47b81b14015355260564a22 (diff) | |
download | Qt-bda9c20a556aa6ab6ccba978f7fc1ffe02c50813.zip Qt-bda9c20a556aa6ab6ccba978f7fc1ffe02c50813.tar.gz Qt-bda9c20a556aa6ab6ccba978f7fc1ffe02c50813.tar.bz2 |
Add support for error messages in the D-Bus marshaller.
Reviewed-By: Harald Fernengel
Diffstat (limited to 'src/dbus/qdbusargument_p.h')
-rw-r--r-- | src/dbus/qdbusargument_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus/qdbusargument_p.h b/src/dbus/qdbusargument_p.h index b49a517..78bc683 100644 --- a/src/dbus/qdbusargument_p.h +++ b/src/dbus/qdbusargument_p.h @@ -130,7 +130,7 @@ public: QDBusMarshaller *endCommon(); void open(QDBusMarshaller &sub, int code, const char *signature); void close(); - void error(); + void error(const QString &message); bool appendVariantInternal(const QVariant &arg); bool appendRegisteredType(const QVariant &arg); @@ -140,6 +140,7 @@ public: DBusMessageIter iterator; QDBusMarshaller *parent; QByteArray *ba; + QString errorString; char closeCode; bool ok; |