summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusargument_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-29 14:31:09 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 09:43:28 (GMT)
commitbda9c20a556aa6ab6ccba978f7fc1ffe02c50813 (patch)
treedbc8d5afb250ff720be025e15e2387b58ac21f42 /src/dbus/qdbusargument_p.h
parent96152ee50dfca7adf47b81b14015355260564a22 (diff)
downloadQt-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.h3
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;