8#include <private/qoffsetstringarray_p.h>
10#ifndef QT_BOOTSTRAPPED
26 "
org.freedesktop.DBus.
Error.NoMemory",
27 "
org.freedesktop.DBus.
Error.ServiceUnknown",
28 "
org.freedesktop.DBus.
Error.NoReply",
29 "
org.freedesktop.DBus.
Error.BadAddress",
31 "
org.freedesktop.DBus.
Error.LimitsExceeded",
32 "
org.freedesktop.DBus.
Error.AccessDenied",
33 "
org.freedesktop.DBus.
Error.NoServer",
34 "
org.freedesktop.DBus.
Error.Timeout",
35 "
org.freedesktop.DBus.
Error.NoNetwork",
36 "
org.freedesktop.DBus.
Error.AddressInUse",
37 "
org.freedesktop.DBus.
Error.Disconnected",
38 "
org.freedesktop.DBus.
Error.InvalidArgs",
39 "
org.freedesktop.DBus.
Error.UnknownMethod",
40 "
org.freedesktop.DBus.
Error.TimedOut",
41 "
org.freedesktop.DBus.
Error.InvalidSignature",
42 "
org.freedesktop.DBus.
Error.UnknownInterface",
43 "
org.freedesktop.DBus.
Error.UnknownObject",
44 "
org.freedesktop.DBus.
Error.UnknownProperty",
46 "
org.qtproject.QtDBus.
Error.InternalError",
47 "
org.qtproject.QtDBus.
Error.InvalidService",
48 "
org.qtproject.QtDBus.
Error.InvalidObjectPath",
49 "
org.qtproject.QtDBus.
Error.InvalidInterface",
50 "
org.qtproject.QtDBus.
Error.InvalidMember",
54#ifndef QT_BOOTSTRAPPED
168#ifndef QT_BOOTSTRAPPED
233#ifndef QT_BOOTSTRAPPED
306#ifndef QT_NO_DEBUG_STREAM
310 dbg.nospace() <<
"QDBusError(" << msg.
name() <<
", " << msg.
message() <<
')';
323#include "moc_qdbuserror.cpp"
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
QString message() const
Returns the message that the callee associated with this error.
static QString errorString(ErrorType error)
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.
QDBusError & operator=(QDBusError &&other) noexcept
bool isValid() const
Returns true if this is a valid error condition (i.e., if there was an error), otherwise false.
QString name() const
Returns this error's name.
QString errorName() const
Returns the name of the error that was received.
MessageType type() const
Returns the message type.
QString errorMessage() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
void clear()
Clears the contents of the string and makes it null.
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QByteArray toUtf8() const &
Combined button and popup list for selecting options.
#define QT_WARNING_DISABLE_MSVC(number)
DBusConnection const char DBusError * error
static QDBusError::ErrorType get(const char *name)
static QT_BEGIN_NAMESPACE constexpr const auto errorMessages
QDebug operator<<(QDebug dbg, const QDBusError &msg)
constexpr auto qOffsetStringArray(const char(&...strings)[Nx]) noexcept