167 if (
error.isValid()) {
172 if (
reply.arguments().
size() >= 1 &&
reply.arguments().at(0).metaType() ==
data.metaType()) {
178 const char *receivedType =
nullptr;
185 receivedSignature =
arg.currentSignature().toLatin1();
186 if (receivedSignature == expectedSignature) {
194 receivedType =
type.name();
200 if (receivedSignature.
isEmpty())
201 receivedSignature =
"<empty signature>";
204 errorMsg =
"Unexpected reply signature: got \"%1\" (%4), expected \"%2\" (%3)"_L1
210 errorMsg =
"Unexpected reply signature: got \"%1\", expected \"%2\" (%3)"_L1
bool isEmpty() const noexcept
Returns true if the byte array has size 0; otherwise returns false.
virtual qint64 size() const
For open random-access devices, this function returns the size of the device.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QString arg(qlonglong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
void qDBusReplyFill(const QDBusMessage &reply, QDBusError &error, QVariant &data)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data