105 "org.freedesktop.DBus.Error.Failed\0" 106 "org.freedesktop.DBus.Error.NoMemory\0" 107 "org.freedesktop.DBus.Error.ServiceUnknown\0" 108 "org.freedesktop.DBus.Error.NoReply\0" 109 "org.freedesktop.DBus.Error.BadAddress\0" 110 "org.freedesktop.DBus.Error.NotSupported\0" 111 "org.freedesktop.DBus.Error.LimitsExceeded\0" 112 "org.freedesktop.DBus.Error.AccessDenied\0" 113 "org.freedesktop.DBus.Error.NoServer\0" 114 "org.freedesktop.DBus.Error.Timeout\0" 115 "org.freedesktop.DBus.Error.NoNetwork\0" 116 "org.freedesktop.DBus.Error.AddressInUse\0" 117 "org.freedesktop.DBus.Error.Disconnected\0" 118 "org.freedesktop.DBus.Error.InvalidArgs\0" 119 "org.freedesktop.DBus.Error.UnknownMethod\0" 120 "org.freedesktop.DBus.Error.TimedOut\0" 121 "org.freedesktop.DBus.Error.InvalidSignature\0" 122 "org.freedesktop.DBus.Error.UnknownInterface\0" 123 "com.trolltech.QtDBus.Error.InternalError\0" 124 "org.freedesktop.DBus.Error.UnknownObject\0" 125 "com.trolltech.QtDBus.Error.InvalidService\0" 126 "com.trolltech.QtDBus.Error.InvalidObjectPath\0" 127 "com.trolltech.QtDBus.Error.InvalidInterface\0" 128 "com.trolltech.QtDBus.Error.InvalidMember\0" 132 0, 6, 40, 76, 118, 153, 191, 231,
133 273, 313, 349, 384, 421, 461, 501, 540,
134 581, 617, 661, 705, 746, 787, 829, 874,
258 if (!error || !q_dbus_error_is_set(error))
373 #ifndef QT_NO_DEBUG_STREAM QDebug operator<<(QDebug dbg, const QDBusError &msg)
The QDebug class provides an output stream for debugging information.
#define QT_END_NAMESPACE
This macro expands to.
bool isValid() const
Returns true if this is a valid error condition (i.e., if there was an error), otherwise false...
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
static const int errorMessages_count
QByteArray toUtf8() const Q_REQUIRED_RESULT
Returns a UTF-8 representation of the string as a QByteArray.
The QDBusError class represents an error received from the D-Bus bus or from remote applications foun...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
ErrorType
In order to facilitate verification of the most common D-Bus errors generated by the D-Bus implementa...
ErrorType type() const
Returns this error's ErrorType.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QString errorMessage() const
Returns the human-readable message associated with the error that was received.
static QString fromUtf8(const char *, int size=-1)
Returns a QString initialized with the first size bytes of the UTF-8 string str.
QString name() const
Returns this error's name.
const char * constData() const
Returns a pointer to the data stored in the byte array.
QString errorName() const
Returns the name of the error that was received.
Q_DECL_CONSTEXPR const T & qBound(const T &min, const T &val, const T &max)
static const char * get(QDBusError::ErrorType code)
QDBusError & operator=(const QDBusError &other)
The QDBusMessage class represents one message sent or received over the D-Bus bus.
MessageType type() const
Returns the message type.
QDBusError(const DBusError *error=0)
Constructs a QDBusError from a DBusError structure.
static const int errorMessages_indices[]
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
static QString errorString(ErrorType error)
Returns the error name associated with error condition error.
static const char errorMessages_string[]
QString message() const
Returns the message that the callee associated with this error.