Qt 4.8
|
#include "private/qdeclarativecompiledbindings_p.h"
#include <QtDeclarative/qdeclarativeinfo.h>
#include <private/qdeclarativecontext_p.h>
#include <private/qdeclarativejsast_p.h>
#include <private/qdeclarativejsengine_p.h>
#include <private/qdeclarativeexpression_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdebug.h>
#include <QtCore/qnumeric.h>
#include <private/qdeclarativeanchors_p_p.h>
#include <private/qdeclarativeglobal_p.h>
#include <private/qdeclarativefastproperties_p.h>
#include <private/qdeclarativedebugtrace_p.h>
Go to the source code of this file.
Classes | |
struct | QDeclarativeBindingCompilerPrivate |
struct | QDeclarativeBindingCompilerPrivate::Result |
class | QDeclarativeCompiledBindingsPrivate |
struct | QDeclarativeCompiledBindingsPrivate::Binding |
Macros | |
#define | FOR_EACH_QML_INSTR(F) |
#define | QML_BEGIN_INSTR(I) case Instr::I: |
#define | QML_END_INSTR(I) break; |
#define | QML_INSTR_ADDR(I) &&op_##I, |
#define | QML_INSTR_ENUM(I) I, |
#define | QML_INSTR_HEADER |
Functions | |
DEFINE_BOOL_CONFIG_OPTION (qmlExperimental, QML_EXPERIMENTAL) | |
DEFINE_BOOL_CONFIG_OPTION (qmlDisableOptimizer, QML_DISABLE_OPTIMIZER) | |
DEFINE_BOOL_CONFIG_OPTION (qmlDisableFastProperties, QML_DISABLE_FAST_PROPERTIES) | |
DEFINE_BOOL_CONFIG_OPTION (bindingsDump, QML_BINDINGS_DUMP) | |
static void | dumpInstruction (const Instr *instr) |
Q_GLOBAL_STATIC (QDeclarativeFastProperties, fastProperties) | |
static void | throwException (int id, QDeclarativeDelayedError *error, Program *program, QDeclarativeContextData *context, const QString &description=QString()) |
static bool | toBool (Register *reg, int type, bool *ok=0) |
static qreal | toReal (Register *reg, int type, bool *ok=0) |
static QString | toString (Register *reg, int type, bool *ok=0) |
static QUrl | toUrl (Register *reg, int type, QDeclarativeContextData *context, bool *ok=0) |
static QObject * | variantToQObject (const QVariant &value, bool *ok) |
#define FOR_EACH_QML_INSTR | ( | F | ) |
Definition at line 73 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
#define QML_BEGIN_INSTR | ( | I | ) | case Instr::I: |
Definition at line 130 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
#define QML_END_INSTR | ( | I | ) | break; |
Definition at line 131 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
#define QML_INSTR_ADDR | ( | I | ) | &&op_##I, |
Definition at line 123 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
#define QML_INSTR_ENUM | ( | I | ) | I, |
Definition at line 122 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
#define QML_INSTR_HEADER |
Definition at line 132 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
DEFINE_BOOL_CONFIG_OPTION | ( | qmlExperimental | , |
QML_EXPERIMENTAL | |||
) |
DEFINE_BOOL_CONFIG_OPTION | ( | qmlDisableOptimizer | , |
QML_DISABLE_OPTIMIZER | |||
) |
DEFINE_BOOL_CONFIG_OPTION | ( | qmlDisableFastProperties | , |
QML_DISABLE_FAST_PROPERTIES | |||
) |
DEFINE_BOOL_CONFIG_OPTION | ( | bindingsDump | , |
QML_BINDINGS_DUMP | |||
) |
|
static |
Definition at line 1033 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::dump(), and QDeclarativeCompiledBindingsPrivate::run().
Q_GLOBAL_STATIC | ( | QDeclarativeFastProperties | , |
fastProperties | |||
) |
|
static |
Definition at line 1012 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::run().
|
inlinestatic |
Definition at line 811 of file qdeclarativecompiledbindings.cpp.
Referenced by QX11Data::clipboardWaitForEvent(), QScriptEnginePrivate::convertValue(), QScriptEnginePrivate::get(), QMacPrintEngine::metric(), QNetworkAccessHttpBackend::postRequest(), QDBusDemarshaller::QDBusDemarshaller(), QDeclarativeCompiledBindingsPrivate::run(), and QVariant::swap().
|
inlinestatic |
Definition at line 779 of file qdeclarativecompiledbindings.cpp.
Referenced by QFontEngine::addBitmapFontToPath(), QFontEngineBox::boundingBox(), QTextLayout::boundingRect(), QTextTableData::cellRect(), QFontEngineMac::draw(), QTextLine::draw(), QTextLayout::drawCursor(), QTextDocumentLayoutPrivate::drawFrame(), QTextDocumentLayoutPrivate::drawFrameDecoration(), QOpenGLPaintEngine::drawStaticTextItem(), QTextDocumentLayoutPrivate::drawTableCell(), QEmulationPaintEngine::drawTextItem(), QPainter::drawTextItem(), QFontEngineQPA::extractHeaderField(), QFontEngineQPF::extractHeaderField(), QFontEngine::getGlyphBearings(), QFontMetricsF::height(), QFontEngineMac::imageForGlyph(), QTextDocumentLayoutPrivate::layoutBlock(), QTextDocumentLayoutPrivate::layoutFlow(), QFontMetricsF::lineSpacing(), QProxyFontEngine::maxCharWidth(), QProxyFontEngine::minLeftBearing(), QProxyFontEngine::minRightBearing(), QFreetypeFace::properties(), QFontEngine::properties(), qt_format_text(), QDeclarativeCompiledBindingsPrivate::run(), and QVariant::swap().
|
inlinestatic |
Definition at line 793 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeImports::addImport(), QIcdEngine::asyncUpdateConfigurationsSlot(), QStringRef::clear(), QAxBase::connectNotify(), convert(), QScriptEnginePrivate::convertValue(), DumpIDL(), QScreen::exposeRegion(), QPatternist::AnyURI::fromLexical(), QNetworkAccessFtpBackend::ftpDone(), QScriptEnginePrivate::get(), QMainWindowLayout::insertIntoMacToolbar(), QSqlRecord::isGenerated(), QDate::isNull(), QTime::isNull(), QNetworkAccessFileBackend::loadFileInfo(), QFSFileEnginePrivate::map(), QScriptErrorLogWidget::message(), messageToScriptValue(), QSqlIndex::name(), QSettingsGroup::name(), QFSFileEnginePrivate::nativeRead(), QFSFileEnginePrivate::nativeWrite(), QDomDocument::nodeType(), QNetworkAccessCacheBackend::open(), QNetworkAccessFileBackend::open(), QUuid::operator QString(), QSqlRecord::operator!=(), QXmlStreamReaderPrivate::parse(), QEglProperties::properties(), QDBusDemarshaller::QDBusDemarshaller(), QFontEngineQPA::QFontEngineQPA(), QFontEngineQPF::QFontEngineQPF(), QNetworkSessionPrivateImpl::QNetworkSessionPrivateImpl(), QUuid::QUuid(), MetaObjectGenerator::readClassInfo(), QNetworkAccessFileBackend::readMoreFromFile(), QDeclarativeImports::resolveType(), QDeclarativeCompiledBindingsPrivate::run(), setCloseOnExec(), QSqlIndex::setDescending(), QMacPrintEnginePrivate::setPaperSize(), QDirModelPrivate::size(), QFileSystemModelPrivate::size(), QSortedModelEngine::sortOrder(), QDeclarativeVisualDataModel::stringValue(), QUrl::swap(), QVariant::swap(), QAccessibleItemRow::text(), QLocale::toString(), QFSFileEnginePrivate::unmap(), QNetworkAccessFileBackend::uploadReadyReadSlot(), QPatternist::MaintainingReader< XSLTTokenLookup >::validateElement(), and QListModelInterface::~QListModelInterface().
|
inlinestatic |
Definition at line 825 of file qdeclarativecompiledbindings.cpp.
Referenced by QUrlModel::addUrls(), QDragManager::drag(), QDeclarativeCompiledBindingsPrivate::run(), QSidebar::showContextMenu(), QVariant::swap(), and QUrlModel::urls().
Definition at line 856 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeCompiledBindingsPrivate::findgeneric(), and QDeclarativeCompiledBindingsPrivate::findproperty().