42 #ifndef QDECLARATIVEMETATYPE_P_H 43 #define QDECLARATIVEMETATYPE_P_H 58 #include <QtCore/qglobal.h> 59 #include <QtCore/qvariant.h> 60 #include <QtCore/qbitarray.h> 61 #include <private/qdeclarativeglobal_p.h> 62 #include <private/qdeclarativedirparser_p.h> 73 static bool canCopy(
int type);
74 static bool copy(
int type,
void *
data,
const void *copy = 0);
91 static bool isQObject(
int);
94 static int listType(
int);
95 static int attachedPropertiesFuncId(
const QMetaObject *);
101 static bool isInterface(
int);
102 static const char *interfaceIId(
int);
103 static bool isList(
int);
106 static void registerCustomStringConverter(
int, StringConverter);
107 static StringConverter customStringConverter(
int);
109 static bool isModule(
const QByteArray &module,
int versionMajor,
int versionMinor);
121 int majorVersion()
const;
122 int minorVersion()
const;
124 bool availableInVersion(
int vmajor,
int vminor)
const;
125 bool availableInVersion(
const QByteArray &module,
int vmajor,
int vminor)
const;
130 typedef void (*CreateFunc)(
void *);
131 CreateFunc createFunction()
const;
132 int createSize()
const;
136 bool isCreatable()
const;
137 bool isExtendedType()
const;
138 QString noCreationReason()
const;
140 bool isInterface()
const;
142 int qListTypeId()
const;
146 int metaObjectRevision()
const;
147 bool containsRevisionedAttributes()
const;
151 int attachedPropertiesId()
const;
153 int parserStatusCast()
const;
155 const char *interfaceIId()
const;
156 int propertyValueSourceCast()
const;
157 int propertyValueInterceptorCast()
const;
177 #endif // QDECLARATIVEMETATYPE_P_H The QVariant class acts like a union for the most common Qt data types.
QObject *(* QDeclarativeAttachedPropertiesFunc)(QObject *)
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
QDeclarativeTypePrivate * d
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
#define Q_DECLARATIVE_PRIVATE_EXPORT
The QDeclarativeCustomParser class allows you to add new arbitrary types to QML.