42 #include "private/qdeclarativeparser_p.h" 45 #include "private/qdeclarativevme_p.h" 47 #include "private/qdeclarativecomponent_p.h" 49 #include "private/qmetaobjectbuilder_p.h" 50 #include "private/qdeclarativevmemetaobject_p.h" 51 #include "private/qdeclarativecompiler_p.h" 60 #include <QStringBuilder> 69 :
type(-1), majorVersion(-1), minorVersion(-1), idIndex(-1), metatype(0), synthCache(0), defaultProperty(0), parserStatusCast(-1)
96 prop.
first->release();
107 bits[b / 32] |= (1 << (b % 32));
169 property->parent =
this;
179 : isDefaultProperty(false),
type(
Variant), defaultValue(0)
198 :
name(o.
name), parameterTypes(o.parameterTypes),
199 parameterNames(o.parameterNames)
213 : parent(0),
type(0),
index(-1), value(0), isDefault(true), isDeferred(false),
214 isValueTypeSubProperty(false), isAlias(false)
261 if (
object)
object->release();
324 for (
int i = 0; i <
string.length(); ++i) {
325 const QChar &
c =
string.at(i);
407 if (!AST::cast<AST::StringLiteral *>(elements->
expression))
410 elements = elements->
next;
436 elements = elements->
next;
void addSignalProperty(Property *)
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const QString asString() const
QList< Property * > attachedProperties
#define QT_END_NAMESPACE
This macro expands to.
void addScriptStringProperty(Property *, int=0)
char * data()
Returns a pointer to the data stored in the byte array.
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QByteArray & append(char c)
Appends the character ch to this byte array.
Variant & operator=(const Variant &)
The QByteArray class provides an array of bytes.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
QList< Property * > valueProperties
Property * defaultProperty
const QMetaObject * metaObject() const
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static Object * object(const QScriptValue &)
void addAttachedProperty(Property *)
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
QAbstractDynamicMetaObject extObject
QDeclarativePropertyCache * synthCache
bool isStringList() const
const QMetaObject * metatype
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QByteArray bindingBitmask
QStringList asStringList() const
QList< DynamicProperty > dynamicProperties
QList< QPair< Property *, int > > scriptStringProperties
The QStringList class provides a list of strings.
QString escapedString(const QString &string)
QList< Property * > signalProperties
void addGroupedProperty(Property *)
Property * getDefaultProperty()
QDeclarativeJS::AST::Node * n
void addOnValue(Value *v)
QDeclarativeJS::AST::Node * asAST() const
QList< Property * > groupedProperties
void addValueTypeProperty(Property *)
QList< Property * > valueTypeProperties
QList< QByteArray > parameterNames
Q_OUTOFLINE_TEMPLATE QPair< T1, T2 > qMakePair(const T1 &x, const T2 &y)
int size() const
Returns the number of bytes in this byte array.
bool isValueTypeSubProperty
static const QTextHtmlElement elements[Html_NumElements]
bool isEmpty() const
Returns true if the byte array has size 0; otherwise returns false.
Property * getProperty(const QByteArray &name, bool create=true)
Object * getValue(const LocationSpan &)
void addValueProperty(Property *)
ExpressionNode * expression
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QHash< QByteArray, Property * > properties
QList< Value * > onValues
QDeclarativeParser::Property * defaultValue