Qt 4.8
|
#include <qcoreapplication.h>
#include <qdebug.h>
#include <qmetaobject.h>
#include <qobject.h>
#include <qsocketnotifier.h>
#include <qstringlist.h>
#include <qtimer.h>
#include <qthread.h>
#include "qdbusargument.h"
#include "qdbusconnection_p.h"
#include "qdbusconnectionmanager_p.h"
#include "qdbusinterface_p.h"
#include "qdbusmessage.h"
#include "qdbusmetatype.h"
#include "qdbusmetatype_p.h"
#include "qdbusabstractadaptor.h"
#include "qdbusabstractadaptor_p.h"
#include "qdbusutil_p.h"
#include "qdbusvirtualobject.h"
#include "qdbusmessage_p.h"
#include "qdbuscontext_p.h"
#include "qdbuspendingcall_p.h"
#include "qdbusintegrator_p.h"
#include "qdbusthreaddebug_p.h"
Go to the source code of this file.
Macros | |
#define | DBUS_TYPE_UNIX_FD int('h') |
#define | qDBusDebug if (!::isDebugging); else qDebug |
Typedefs | |
typedef void(* | QDBusSpyHook) (const QDBusMessage &) |
typedef QVarLengthArray< QDBusSpyHook, 4 > | QDBusSpyHookList |
Functions | |
static QByteArray | buildMatchRule (const QString &service, const QString &objectPath, const QString &interface, const QString &member, const QStringList &argMatch, const QString &) |
static void | cleanupDeletedNodes (QDBusConnectionPrivate::ObjectTreeNode &parent) |
static QDBusConnection::ConnectionCapabilities | connectionCapabilies (DBusConnection *connection) |
static QString | dbusInterfaceString () |
static QObject * | findChildObject (const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int start) |
static bool | findObject (const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int &usedLength, QDBusConnectionPrivate::ObjectTreeNode &result) |
static int | findSlot (const QMetaObject *mo, const QByteArray &name, int flags, const QString &signature_, QList< int > &metaTypes) |
static void | huntAndDestroy (QObject *needle, QDBusConnectionPrivate::ObjectTreeNode &haystack) |
static void | huntAndEmit (DBusConnection *connection, DBusMessage *msg, QObject *needle, const QDBusConnectionPrivate::ObjectTreeNode &haystack, bool isScriptable, bool isAdaptor, const QString &path=QString()) |
static QDebug | operator<< (QDebug dbg, const QThread *th) |
Q_GLOBAL_STATIC_WITH_ARGS (const QString, orgFreedesktopDBusString,(QLatin1String(DBUS_SERVICE_DBUS))) static inline QString dbusServiceString() | |
Q_DBUS_EXPORT void | qDBusAddSpyHook (QDBusSpyHook) |
static dbus_bool_t | qDBusAddTimeout (DBusTimeout *timeout, void *data) |
static dbus_bool_t | qDBusAddWatch (DBusWatch *watch, void *data) |
bool | qDBusInitThreads () |
static void | qDBusNewConnection (DBusServer *server, DBusConnection *connection, void *data) |
static bool | qDBusRealAddTimeout (QDBusConnectionPrivate *d, DBusTimeout *timeout, int ms) |
static bool | qDBusRealAddWatch (QDBusConnectionPrivate *d, DBusWatch *watch, int flags, int fd) |
static void | qDBusRealToggleWatch (QDBusConnectionPrivate *d, DBusWatch *watch, int fd) |
static void | qDBusRemoveTimeout (DBusTimeout *timeout, void *data) |
static void | qDBusRemoveWatch (DBusWatch *watch, void *data) |
static void | qDBusResultReceived (DBusPendingCall *pending, void *user_data) |
static DBusHandlerResult | qDBusSignalFilter (DBusConnection *connection, DBusMessage *message, void *data) |
static void | qDBusToggleTimeout (DBusTimeout *timeout, void *data) |
static void | qDBusToggleWatch (DBusWatch *watch, void *data) |
static void | qDBusUpdateDispatchStatus (DBusConnection *connection, DBusDispatchStatus new_status, void *data) |
static bool | shouldWatchService (const QString &service) |
Variables | |
static QDBusCallDeliveryEvent *const | DIRECT_DELIVERY = (QDBusCallDeliveryEvent *)1 |
static bool | isDebugging |
static dbus_int32_t | server_slot = -1 |
#define DBUS_TYPE_UNIX_FD int('h') |
Referenced by connectionCapabilies().
#define qDBusDebug if (!::isDebugging); else qDebug |
Definition at line 74 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::connectSignal(), QDBusConnectionPrivate::deliverCall(), QDBusConnectionPrivate::disconnectSignal(), QDBusConnectionPrivate::handleMessage(), huntAndEmit(), operator<<(), QDBusConnectionPrivate::processFinishedCall(), qDBusSignalFilter(), QDBusConnectionPrivate::send(), QDBusConnectionPrivate::sendWithReply(), QDBusConnectionPrivate::sendWithReplyAsync(), QDBusConnectionPrivate::sendWithReplyLocal(), QDBusConnectionPrivate::serviceOwnerChangedNoLock(), and QDBusConnectionPrivate::setConnection().
typedef void(* QDBusSpyHook) (const QDBusMessage &) |
Definition at line 134 of file qdbusintegrator.cpp.
typedef QVarLengthArray<QDBusSpyHook, 4> QDBusSpyHookList |
Definition at line 135 of file qdbusintegrator.cpp.
|
static |
Definition at line 408 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::prepareHook().
|
static |
Definition at line 2230 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::registerObject().
|
static |
Definition at line 1686 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection().
|
inlinestatic |
Definition at line 80 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::connectSignal(), QDBusConnectionPrivate::disconnectSignal(), and QDBusConnectionPrivate::getNameOwnerNoCache().
|
static |
Definition at line 485 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::activateObject().
|
static |
Definition at line 436 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::handleObjectCall().
|
static |
Definition at line 632 of file qdbusintegrator.cpp.
|
static |
Definition at line 587 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::objectDestroyed().
|
static |
Definition at line 600 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::relaySignal().
Definition at line 87 of file qdbusintegrator.cpp.
Q_GLOBAL_STATIC_WITH_ARGS | ( | const QString | , |
orgFreedesktopDBusString | , | ||
(QLatin1String(DBUS_SERVICE_DBUS)) | |||
) |
Definition at line 76 of file qdbusintegrator.cpp.
void qDBusAddSpyHook | ( | QDBusSpyHook | hook | ) |
Definition at line 534 of file qdbusintegrator.cpp.
Referenced by shouldWatchService().
|
static |
Definition at line 143 of file qdbusintegrator.cpp.
Referenced by qDBusToggleTimeout(), QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
|
static |
Definition at line 236 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
bool qDBusInitThreads | ( | ) |
Referenced by QDBusConnectionPrivate::deliverCall().
|
static |
Definition at line 380 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setServer().
|
static |
Definition at line 169 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::customEvent(), and qDBusAddTimeout().
|
static |
Definition at line 259 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::customEvent(), qDBusAddWatch(), and qDBusToggleTimeout().
|
static |
Definition at line 339 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::customEvent(), qDBusRemoveWatch(), and qDBusToggleWatch().
|
static |
Definition at line 181 of file qdbusintegrator.cpp.
Referenced by qDBusToggleTimeout(), QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
|
static |
Definition at line 287 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
|
static |
Definition at line 1757 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::sendWithReplyAsync().
|
static |
Definition at line 541 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), and QDBusConnectionPrivate::setPeer().
|
static |
Definition at line 224 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
|
static |
Definition at line 320 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), QDBusConnectionPrivate::setPeer(), and QDBusConnectionPrivate::setServer().
|
static |
Definition at line 361 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::setConnection(), and QDBusConnectionPrivate::setPeer().
|
static |
Definition at line 528 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::connectSignal(), and QDBusConnectionPrivate::handleSignal().
|
static |
Definition at line 729 of file qdbusintegrator.cpp.
Referenced by QDBusConnectionPrivate::prepareReply().
|
static |
Definition at line 73 of file qdbusintegrator.cpp.
Referenced by QDeclarativeEnginePrivate::init(), and QDBusConnectionPrivate::QDBusConnectionPrivate().
|
static |
Definition at line 1618 of file qdbusintegrator.cpp.