Qt 4.8
|
#include <QtDeclarative/qdeclarativeprivate.h>
#include <QtDeclarative/qdeclarativeparserstatus.h>
#include <QtDeclarative/qdeclarativepropertyvaluesource.h>
#include <QtDeclarative/qdeclarativepropertyvalueinterceptor.h>
#include <QtDeclarative/qdeclarativelist.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qmetaobject.h>
Go to the source code of this file.
Macros | |
#define | QML_DECLARE_INTERFACE(INTERFACE) QML_DECLARE_TYPE(INTERFACE) |
#define | QML_DECLARE_INTERFACE_HASMETATYPE(INTERFACE) QML_DECLARE_TYPE_HASMETATYPE(INTERFACE) |
#define | QML_DECLARE_TYPE(TYPE) |
#define | QML_DECLARE_TYPE_HASMETATYPE(TYPE) Q_DECLARE_METATYPE(QDeclarativeListProperty<TYPE>) |
#define | QML_DECLARE_TYPEINFO(TYPE, FLAGS) |
Enumerations | |
enum | { QML_HAS_ATTACHED_PROPERTIES = 0x01 } |
Functions | |
Q_DECLARATIVE_EXPORT QObject * | qmlAttachedPropertiesObject (int *, const QObject *, const QMetaObject *, bool create) |
template<typename T > | |
QObject * | qmlAttachedPropertiesObject (const QObject *obj, bool create=true) |
Q_DECLARATIVE_EXPORT QObject * | qmlAttachedPropertiesObjectById (int, const QObject *, bool create=true) |
Q_DECLARATIVE_EXPORT QDeclarativeContext * | qmlContext (const QObject *) |
Q_DECLARATIVE_EXPORT QDeclarativeEngine * | qmlEngine (const QObject *) |
Q_DECLARATIVE_EXPORT void | qmlExecuteDeferred (QObject *) |
template<typename T > | |
int | qmlRegisterCustomType (const char *uri, int versionMajor, int versionMinor, const char *qmlName, QDeclarativeCustomParser *parser) |
template<typename T , typename E > | |
int | qmlRegisterExtendedType () |
template<typename T , typename E > | |
int | qmlRegisterExtendedType (const char *uri, int versionMajor, int versionMinor, const char *qmlName) |
template<typename T > | |
int | qmlRegisterInterface (const char *typeName) |
template<typename T , int metaObjectRevision> | |
int | qmlRegisterRevision (const char *uri, int versionMajor, int versionMinor) |
template<typename T > | |
int | qmlRegisterType () |
template<typename T > | |
int | qmlRegisterType (const char *uri, int versionMajor, int versionMinor, const char *qmlName) |
template<typename T , int metaObjectRevision> | |
int | qmlRegisterType (const char *uri, int versionMajor, int versionMinor, const char *qmlName) |
int Q_AUTOTEST_EXPORT | qmlRegisterTypeNotAvailable (const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString &message) |
template<typename T > | |
int | qmlRegisterUncreatableType (const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString &reason) |
#define QML_DECLARE_INTERFACE | ( | INTERFACE | ) | QML_DECLARE_TYPE(INTERFACE) |
Definition at line 63 of file qdeclarative.h.
#define QML_DECLARE_INTERFACE_HASMETATYPE | ( | INTERFACE | ) | QML_DECLARE_TYPE_HASMETATYPE(INTERFACE) |
Definition at line 66 of file qdeclarative.h.
#define QML_DECLARE_TYPE | ( | TYPE | ) |
Definition at line 56 of file qdeclarative.h.
Referenced by QDeclarativeVisualDataModel::_q_destroyingPackage(), QDeclarativeAnchorChanges::needsCopy(), QDeclarativePropertyChangesParser::QDeclarativePropertyChangesParser(), qmlAttachedPropertiesObject(), and qobject_cast().
#define QML_DECLARE_TYPE_HASMETATYPE | ( | TYPE | ) | Q_DECLARE_METATYPE(QDeclarativeListProperty<TYPE>) |
Definition at line 60 of file qdeclarative.h.
#define QML_DECLARE_TYPEINFO | ( | TYPE, | |
FLAGS | |||
) |
Definition at line 73 of file qdeclarative.h.
anonymous enum |
Enumerator | |
---|---|
QML_HAS_ATTACHED_PROPERTIES |
Definition at line 69 of file qdeclarative.h.
Q_DECLARATIVE_EXPORT QObject* qmlAttachedPropertiesObject | ( | int * | , |
const QObject * | , | ||
const QMetaObject * | , | ||
bool | create | ||
) |
Definition at line 1106 of file qdeclarativeengine.cpp.
Referenced by qmlAttachedPropertiesObject(), and qmlRegisterCustomType().
QObject* qmlAttachedPropertiesObject | ( | const QObject * | obj, |
bool | create = true |
||
) |
Definition at line 402 of file qdeclarative.h.
Q_DECLARATIVE_EXPORT QObject* qmlAttachedPropertiesObjectById | ( | int | , |
const QObject * | , | ||
bool | create = true |
||
) |
Definition at line 1084 of file qdeclarativeengine.cpp.
Referenced by QDeclarativePropertyPrivate::initProperty(), qmlAttachedPropertiesObject(), qmlRegisterCustomType(), QDeclarativeTypeNameScriptClass::queryProperty(), and QDeclarativeCompiledBindingsPrivate::run().
Q_DECLARATIVE_EXPORT QDeclarativeContext* qmlContext | ( | const QObject * | ) |
Definition at line 1073 of file qdeclarativeengine.cpp.
Referenced by QDeclarativeLoaderPrivate::_q_sourceLoaded(), QDeclarativePropertyChanges::actions(), QDeclarativeParentChange::actions(), QDeclarativeAnchorChanges::actions(), QDeclarativeAnchorChanges::additionalActions(), QDeclarativeWatcher::addWatch(), QDeclarativePropertyChanges::changeExpression(), QDeclarativeGestureArea::connectSignals(), QDeclarativeConnections::connectSignals(), QDeclarativeGridViewPrivate::createComponentItem(), QDeclarativeListViewPrivate::createComponentItem(), QDeclarativePathViewPrivate::createHighlight(), QDeclarativeAbstractAnimationPrivate::createProperty(), QDeclarativeListViewPrivate::createSection(), QDeclarativeComponent::creationContext(), QDeclarativePropertyChangesPrivate::decode(), QDeclarativeXmlListModel::get(), QDeclarativeVisualDataModel::item(), QDeclarativeTextEdit::loadCursorDelegate(), QTextDocumentWithImageResources::loadResource(), QDeclarativeEngineDebugService::messageReceived(), QDeclarativeEngineDebugService::objectData(), QDeclarativePropertyChangesPrivate::property(), qmlRegisterCustomType(), QDeclarativeXmlListModel::reload(), QDeclarativeEngineDebugService::resetBinding(), QDeclarativeEngineDebugService::setBinding(), QDeclarativeRepeater::setDelegate(), QDeclarativeGridView::setDelegate(), QDeclarativePathView::setDelegate(), QDeclarativeListView::setDelegate(), QDeclarativeEngineDebugService::setMethodBody(), QDeclarativeRepeater::setModel(), QDeclarativePathView::setModel(), QDeclarativeGridView::setModel(), QDeclarativeListView::setModel(), and QDeclarativeFontLoader::setSource().
Q_DECLARATIVE_EXPORT QDeclarativeEngine* qmlEngine | ( | const QObject * | ) |
Definition at line 1078 of file qdeclarativeengine.cpp.
Referenced by QDeclarativeLoaderPrivate::_q_sourceLoaded(), QDeclarativeXmlListModel::classBegin(), QDeclarativePathView::createdItem(), QDeclarativeWorkerScript::engine(), QDeclarativeWorkerScript::event(), FlatListModel::get(), NestedListModel::get(), QDeclarativePathViewPrivate::getItem(), QDeclarativeBorderImage::load(), QDeclarativeImageBase::load(), QDeclarativeAnimatedImage::load(), QDeclarativeItem::mapFromItem(), QDeclarativeItem::mapToItem(), ModelNode::object(), QDeclarativeComponent::qmlAttachedProperties(), qmlRegisterCustomType(), QDeclarativeXmlListModel::reload(), QDeclarativeXmlListModel::requestFinished(), QDeclarativeBorderImage::setGridScaledImage(), QDeclarativeVisualDataModel::setModel(), QDeclarativeAbstractAnimation::setRunning(), QDeclarativeLoader::setSource(), QDeclarativeFontLoader::setSource(), QDeclarativeParticles::setSource(), QDeclarativeBehavior::setTarget(), and QDeclarativeInfo::~QDeclarativeInfo().
Q_DECLARATIVE_EXPORT void qmlExecuteDeferred | ( | QObject * | ) |
Definition at line 1047 of file qdeclarativeengine.cpp.
Referenced by QDeclarativeState::apply(), QDeclarativeStatePrivate::generateActionList(), QDeclarativeTransition::prepare(), QDeclarativeEngineDebugService::prepareDeferredObjects(), qmlRegisterCustomType(), and QDeclarativeBehavior::write().
int qmlRegisterCustomType | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName, | ||
QDeclarativeCustomParser * | parser | ||
) |
Definition at line 359 of file qdeclarative.h.
int qmlRegisterExtendedType | ( | ) |
Definition at line 263 of file qdeclarative.h.
int qmlRegisterExtendedType | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName | ||
) |
Definition at line 297 of file qdeclarative.h.
int qmlRegisterInterface | ( | const char * | typeName | ) |
Definition at line 339 of file qdeclarative.h.
int qmlRegisterRevision | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor | ||
) |
Definition at line 228 of file qdeclarative.h.
int qmlRegisterType | ( | ) |
Definition at line 90 of file qdeclarative.h.
int qmlRegisterType | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName | ||
) |
Definition at line 160 of file qdeclarative.h.
int qmlRegisterType | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName | ||
) |
Definition at line 194 of file qdeclarative.h.
int Q_AUTOTEST_EXPORT qmlRegisterTypeNotAvailable | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName, | ||
const QString & | message | ||
) |
Definition at line 46 of file qdeclarativetypenotavailable.cpp.
Referenced by QDeclarativeItemModule::defineModule(), QDeclarativeUtilModule::defineModule(), QDeclarativeItemModule::defineModuleCompat(), QDeclarativeUtilModule::defineModuleCompat(), and qmlRegisterType().
int qmlRegisterUncreatableType | ( | const char * | uri, |
int | versionMajor, | ||
int | versionMinor, | ||
const char * | qmlName, | ||
const QString & | reason | ||
) |
Definition at line 126 of file qdeclarative.h.