7#include <QtCore/qcoreapplication.h>
8#include <QtCore/qlist.h>
9#include <QtCore/qmetaobject.h>
10#include <QtCore/qvariant.h>
11#include <private/qurl_p.h>
27 static const char noReplyTag[] =
"Q_NOREPLY";
31 const char *
p = strstr(
tag, noReplyTag);
33 (
p ==
tag || *(
p-1) ==
' ') &&
34 (
p[
sizeof noReplyTag - 1] ==
'\0' ||
p[
sizeof noReplyTag - 1] ==
' '))
40#ifndef QT_BOOTSTRAPPED
47 if (idx >=
mo->classInfoOffset()) {
54 interface.prepend(
"org.qtproject.QtDBus."_L1);
58 interface.prepend(
"org.qtproject.Qt."_L1);
65 if (organizationDomain.
isEmpty())
66 domainName.
append(
".local"_L1);
72 if (encodedDomainName.
isEmpty()) {
79 encodedDomainName.
replace(u
'-', u
'_');
86 composedDomain.
reserve(encodedDomainName.
size() + nameParts.size() + 1);
87 for (
auto it = nameParts.rbegin(),
end = nameParts.rend();
it !=
end; ++
it) {
91 if (
it->first().isDigit())
92 composedDomain += u
'_';
93 composedDomain += *
it + u
'.';
106 for ( ;
mo != &QObject::staticMetaObject;
mo =
mo->superClass())
139 bool seenMessage =
false;
141 if (
type.endsWith(
'*')) {
146 if (
type.endsWith(
'&')) {
163 errorMsg =
"Invalid method, non-output parameters after message or after output parameters: "_L1 +
QLatin1StringView(
type);
167 if (
type.startsWith(
"QVector<"))
168 type =
"QList<" +
type.mid(
sizeof(
"QVector<") - 1);
171#ifdef QT_BOOTSTRAPPED
173 if (
type ==
"QDBusMessage") {
void truncate(qsizetype pos)
Truncates the byte array at index position pos.
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
QString applicationName
the name of this application
QString organizationDomain
the Internet domain of the organization that wrote this application
constexpr bool isEmpty() const noexcept
constexpr QLatin1StringView() noexcept
void append(parameter_type t)
\macro QT_RESTRICTED_CAST_FROM_ASCII
QString & replace(qsizetype i, qsizetype len, QChar after)
void reserve(qsizetype size)
Ensures the string has space for at least size characters.
QStringList split(const QString &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Splits the string into substrings wherever sep occurs, and returns the list of those strings.
qsizetype size() const
Returns the number of characters in this string.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QString & append(QChar c)
QSet< QString >::iterator it
Combined button and popup list for selecting options.
AudioChannelLayoutTag tag
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char * interface
#define QCLASSINFO_DBUS_INTERFACE
bool qDBusInterfaceInObject(QObject *obj, const QString &interface_name)
QString qDBusInterfaceFromMetaObject(const QMetaObject *mo)
bool qDBusCheckAsyncTag(const char *tag)
int qDBusParametersForMethod(const QMetaMethod &mm, QList< QMetaType > &metaTypes, QString &errorMsg)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QString Q_CORE_EXPORT qt_ACE_do(const QString &domain, AceOperation op, AceLeadingDot dot, QUrl::AceProcessingOptions options={})
const char className[16]
[1]