![]() |
Qt 6.x
The Qt SDK
|
#include "qdbusconnection_p.h"#include "qdbus_symbols_p.h"#include <QtCore/qcoreapplication.h>#include <QtCore/qmetaobject.h>#include <QtCore/qstringlist.h>#include <QtCore/qthread.h>#include "qdbusabstractadaptor.h"#include "qdbusabstractadaptor_p.h"#include "qdbusconnection.h"#include "qdbusextratypes.h"#include "qdbusmessage.h"#include "qdbusmetatype.h"#include "qdbusmetatype_p.h"#include "qdbusmessage_p.h"#include "qdbusutil_p.h"#include "qdbusvirtualobject.h"#include <algorithm>
Include dependency graph for qdbusinternalfilters.cpp:Go to the source code of this file.
Enumerations | |
| enum | PropertyWriteResult { PropertyWriteSuccess = 0 , PropertyNotFound , PropertyTypeMismatch , PropertyReadOnly , PropertyWriteFailed } |
Variables | |
| static const char | introspectableInterfaceXml [] |
| static const char | propertiesInterfaceXml [] |
| static const char | peerInterfaceXml [] |
| enum PropertyWriteResult |
| Enumerator | |
|---|---|
| PropertyWriteSuccess | |
| PropertyNotFound | |
| PropertyTypeMismatch | |
| PropertyReadOnly | |
| PropertyWriteFailed | |
Definition at line 250 of file qdbusinternalfilters.cpp.
Definition at line 76 of file qdbusinternalfilters.cpp.
References child, and QDBusUtil::isValidPartOfObjectPath().
Referenced by qDBusIntrospectObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 165 of file qdbusinternalfilters.cpp.
References arg, QDBusMessage::createErrorReply(), QDBusMessage::path(), and QDBusError::UnknownInterface.
Referenced by qDBusPropertyGet(), qDBusPropertyGetAll(), and qDBusPropertySet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 397 of file qdbusinternalfilters.cpp.
References QMap< Key, T >::asKeyValueRange(), and QMap< Key, T >::insert().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 173 of file qdbusinternalfilters.cpp.
References arg, QDBusMessage::createErrorReply(), QString::isEmpty(), QDBusMessage::path(), and QDBusError::UnknownProperty.
Referenced by propertyWriteReply(), and qDBusPropertyGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 258 of file qdbusinternalfilters.cpp.
References arg, QDBusMessage::createErrorReply(), QDBusMessage::createReply(), QString::fromLatin1(), QDBusError::InternalError, QDBusError::InvalidArgs, QString::isEmpty(), PropertyNotFound, propertyNotFoundError(), QDBusError::PropertyReadOnly, PropertyReadOnly, PropertyTypeMismatch, PropertyWriteFailed, PropertyWriteSuccess, and Q_ASSERT_X.
Referenced by qDBusPropertySet().
Here is the call graph for this function:
Here is the caller graph for this function:| QString qDBusGenerateMetaObjectXml | ( | QString | interface, |
| const QMetaObject * | mo, | ||
| const QMetaObject * | base, | ||
| int | flags | ||
| ) |
Definition at line 212 of file qdbusxmlgenerator.cpp.
References base, QString::fromUtf8(), generateInterfaceXml(), interface, mo, QCLASSINFO_DBUS_INTROSPECTION, and xml.
Referenced by qDBusIntrospectObject().
Here is the call graph for this function:
Here is the caller graph for this function:| QString qDBusIntrospectObject | ( | const QDBusConnectionPrivate::ObjectTreeNode & | node, |
| const QString & | path | ||
| ) |
Definition at line 89 of file qdbusinternalfilters.cpp.
References QDBusAdaptorConnector::adaptors, QDBusConnectionPrivate::ObjectTreeNode::children, QThread::currentThread(), DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE, QDBusConnection::ExportAdaptors, QDBusConnection::ExportChildObjects, QDBusConnection::ExportNonScriptableContents, QDBusConnection::ExportScriptableContents, QDBusConnectionPrivate::ObjectTreeNode::flags, QString::fromLatin1(), generateSubObjectXml(), QDBusConnectionPrivate::ObjectTreeNode::interfaceName, QDBusVirtualObject::introspect(), introspectableInterfaceXml, QString::isEmpty(), QList< T >::isEmpty(), mo, QDBusConnectionPrivate::ObjectTreeNode::name, QDBusConnectionPrivate::ObjectTreeNode::obj, peerInterfaceXml, propertiesInterfaceXml, Q_ASSERT_X, qDBusFindAdaptorConnector(), qDBusGenerateMetaObjectXml(), QDBusAbstractAdaptorPrivate::retrieveIntrospectionXml(), QDBusAbstractAdaptorPrivate::saveIntrospectionXml(), QObject::thread(), QDBusConnectionPrivate::ObjectTreeNode::treeNode, and QDBusConnectionPrivate::VirtualObject.
Here is the call graph for this function:| QDBusMessage qDBusPropertyGet | ( | const QDBusConnectionPrivate::ObjectTreeNode & | node, |
| const QDBusMessage & | msg | ||
| ) |
Definition at line 183 of file qdbusinternalfilters.cpp.
References QDBusAdaptorConnector::adaptors, QDBusMessage::arguments(), QList< T >::at(), QList< T >::constBegin(), QList< T >::constEnd(), QDBusMessage::createReply(), QThread::currentThread(), QDBusConnection::ExportAdaptors, QDBusConnection::ExportAllProperties, QDBusConnection::ExportNonScriptableProperties, QDBusConnection::ExportScriptableProperties, QDBusConnectionPrivate::ObjectTreeNode::flags, QVariant::fromValue(), interfaceNotFoundError(), QString::isEmpty(), QMetaProperty::isScriptable(), it, mo, QDBusConnectionPrivate::ObjectTreeNode::obj, QObject::property(), propertyNotFoundError(), Q_ASSERT, Q_ASSERT_X, qDBusFindAdaptorConnector(), qDBusInterfaceInObject(), QMetaProperty::read(), QList< T >::size(), QObject::thread(), QVariant::toString(), and QString::toUtf8().
Here is the call graph for this function:| QDBusMessage qDBusPropertyGetAll | ( | const QDBusConnectionPrivate::ObjectTreeNode & | node, |
| const QDBusMessage & | msg | ||
| ) |
Definition at line 438 of file qdbusinternalfilters.cpp.
References QDBusAdaptorConnector::adaptors, QDBusMessage::arguments(), QList< T >::at(), QList< T >::constBegin(), QList< T >::constEnd(), QDBusMessage::createReply(), QThread::currentThread(), QDBusConnection::ExportAdaptors, QDBusConnection::ExportAllProperties, QDBusConnectionPrivate::ObjectTreeNode::flags, QVariant::fromValue(), interfaceNotFoundError(), QString::isEmpty(), it, QDBusConnectionPrivate::ObjectTreeNode::obj, Q_ASSERT, Q_ASSERT_X, qDBusFindAdaptorConnector(), readAllProperties(), QList< T >::size(), QObject::thread(), and QVariant::toString().
Here is the call graph for this function:| QDBusMessage qDBusPropertySet | ( | const QDBusConnectionPrivate::ObjectTreeNode & | node, |
| const QDBusMessage & | msg | ||
| ) |
Definition at line 340 of file qdbusinternalfilters.cpp.
References QDBusAdaptorConnector::adaptors, QDBusMessage::arguments(), QList< T >::at(), QList< T >::cend(), QList< T >::constBegin(), QList< T >::constEnd(), QThread::currentThread(), QDBusConnection::ExportAdaptors, QDBusConnection::ExportNonScriptableProperties, QDBusConnection::ExportScriptableProperties, QDBusConnectionPrivate::ObjectTreeNode::flags, interfaceNotFoundError(), QString::isEmpty(), it, QDBusConnectionPrivate::ObjectTreeNode::obj, PropertyNotFound, propertyWriteReply(), Q_ASSERT, Q_ASSERT_X, qDBusFindAdaptorConnector(), qDBusInterfaceInObject(), QList< T >::size(), QObject::thread(), QVariant::toString(), QString::toUtf8(), and writeProperty().
Here is the call graph for this function:
|
static |
Definition at line 404 of file qdbusinternalfilters.cpp.
References QDBusConnection::ExportNonScriptableProperties, QDBusConnection::ExportScriptableProperties, QString::fromLatin1(), i, QMetaProperty::isReadable(), QMetaProperty::isScriptable(), QMetaProperty::metaType(), mo, QMetaProperty::name(), QMetaProperty::read(), and QDBusMetaType::typeToSignature().
Referenced by qDBusPropertyGetAll().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 287 of file qdbusinternalfilters.cpp.
References QDBusMetaTypeId::argument(), QByteArray::constData(), QDBusMetaType::demarshall(), QDBusConnection::ExportNonScriptableProperties, QDBusConnection::ExportScriptableProperties, QVariant::fromValue(), QMetaProperty::isScriptable(), QMetaProperty::isWritable(), QMetaProperty::metaType(), mo, other(), PropertyNotFound, PropertyReadOnly, PropertyWriteFailed, PropertyWriteSuccess, QMetaType::QVariant, qWarning, QMetaProperty::typeName(), and QMetaProperty::write().
Referenced by qDBusPropertySet(), and QSSGQmlUtilities::writeQml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 36 of file qdbusinternalfilters.cpp.
Referenced by qDBusIntrospectObject().
|
static |
Definition at line 68 of file qdbusinternalfilters.cpp.
Referenced by qDBusIntrospectObject().
|
static |
Definition at line 43 of file qdbusinternalfilters.cpp.
Referenced by qDBusIntrospectObject().