summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuserror.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-29 13:32:26 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 09:43:26 (GMT)
commit6bd18f891b4bbc265e5ddd18ba57095886b36e38 (patch)
treeaa84bc4b14216b996101c38d851cb0cd8b3d3774 /src/dbus/qdbuserror.h
parent11ef1b9bae383c46f7893db0d26c99d354642609 (diff)
downloadQt-6bd18f891b4bbc265e5ddd18ba57095886b36e38.zip
Qt-6bd18f891b4bbc265e5ddd18ba57095886b36e38.tar.gz
Qt-6bd18f891b4bbc265e5ddd18ba57095886b36e38.tar.bz2
Add some new error codes for indicating invalid D-Bus parameters.
I'm wondering if I should be adding com.trolltech.QtDBus stuff now. But since there's already one there, I don't see why not... Reviewed-By: Harald Fernengel
Diffstat (limited to 'src/dbus/qdbuserror.h')
-rw-r--r--src/dbus/qdbuserror.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus/qdbuserror.h b/src/dbus/qdbuserror.h
index 7b77fd5..4e348dd 100644
--- a/src/dbus/qdbuserror.h
+++ b/src/dbus/qdbuserror.h
@@ -81,10 +81,14 @@ public:
UnknownInterface,
InternalError,
UnknownObject,
+ InvalidService,
+ InvalidObjectPath,
+ InvalidInterface,
+ InvalidMember,
#ifndef Q_QDOC
// don't use this one!
- LastErrorType = UnknownObject
+ LastErrorType = InvalidMember
#endif
};