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",
30 "
org.freedesktop.DBus.
Error.NotSupported",
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
194 code =
get(qdmsg.errorName().toUtf8().constData());
195 nm = qdmsg.errorName();
196 msg = qdmsg.errorMessage();
233#ifndef QT_BOOTSTRAPPED
241 code =
get(qdmsg.errorName().toUtf8().constData());
242 nm = qdmsg.errorName();
243 msg = qdmsg.errorMessage();
306#ifndef QT_NO_DEBUG_STREAM
310 dbg.nospace() <<
"QDBusError(" << msg.
name() <<
", " << msg.
message() <<
')';
323#include "moc_qdbuserror.cpp"
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.
\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...
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