44 #include <QtCore/qcoreapplication.h> 45 #include <QtCore/qvariant.h> 46 #include <QtCore/qmetaobject.h> 59 static const char noReplyTag[] =
"Q_NOREPLY";
63 const char *p = strstr(tag, noReplyTag);
65 (p == tag || *(p-1) ==
' ') &&
66 (p[
sizeof noReplyTag - 1] ==
'\0' || p[
sizeof noReplyTag - 1] ==
' '))
108 for (
int i = 0; i < domainName.
count(); ++i)
146 bool seenMessage =
false;
149 for ( ; it !=
end; ++
it) {
QString qDBusInterfaceFromMetaObject(const QMetaObject *mo)
void truncate(int pos)
Truncates the byte array at index position pos.
#define QT_END_NAMESPACE
This macro expands to.
const QChar at(int i) const
Returns the character at the given index position in the string.
bool qDBusInterfaceInObject(QObject *obj, const QString &interface_name)
#define it(className, varName)
QString & replace(int i, int len, QChar after)
The QByteArray class provides an array of bytes.
int length() const
Returns the number of characters in this string.
QString & prepend(QChar c)
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
static const QMetaObject staticMetaObject
This variable stores the meta-object for the class.
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
QString organizationDomain
the Internet domain of the organization that wrote this application
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
bool qDBusCheckAsyncTag(const char *tag)
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool isEmpty(const char *str)
const T & at(int i) const
Returns the item at index position i in the list.
#define QCLASSINFO_DBUS_INTERFACE
The QStringList class provides a list of strings.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
void clear()
Removes all items from the list.
bool isUpper() const
Returns true if the character is an uppercase letter, i.
int length() const
Same as size().
static QCoreApplication * instance()
Returns a pointer to the application's QCoreApplication (or QApplication) instance.
QStringList split(const QString &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
Splits the string into substrings wherever sep occurs, and returns the list of those strings...
static Type nameToType(const char *name)
Converts the string representation of the storage type given in name, to its enum representation...
static const KeyPair *const end
int qDBusParametersForMethod(const QMetaMethod &mm, QList< int > &metaTypes)
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
int qDBusNameToTypeId(const char *name)
bool endsWith(const QByteArray &a) const
Returns true if this byte array ends with byte array ba; otherwise returns false. ...
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...