◆ QDeclarativeVMEVariant()
QDeclarativeVMEVariant::QDeclarativeVMEVariant |
( |
| ) |
|
|
inline |
◆ ~QDeclarativeVMEVariant()
QDeclarativeVMEVariant::~QDeclarativeVMEVariant |
( |
| ) |
|
|
inline |
◆ asBool()
bool QDeclarativeVMEVariant::asBool |
( |
| ) |
|
|
inline |
◆ asDouble()
double QDeclarativeVMEVariant::asDouble |
( |
| ) |
|
|
inline |
◆ asInt()
int QDeclarativeVMEVariant::asInt |
( |
| ) |
|
|
inline |
◆ asQColor()
const QColor & QDeclarativeVMEVariant::asQColor |
( |
| ) |
|
|
inline |
◆ asQDate()
const QDate & QDeclarativeVMEVariant::asQDate |
( |
| ) |
|
|
inline |
◆ asQDateTime()
const QDateTime & QDeclarativeVMEVariant::asQDateTime |
( |
| ) |
|
|
inline |
◆ asQObject()
QObject * QDeclarativeVMEVariant::asQObject |
( |
| ) |
|
|
inline |
◆ asQScriptValue()
const QScriptValue & QDeclarativeVMEVariant::asQScriptValue |
( |
| ) |
|
|
inline |
◆ asQString()
const QString & QDeclarativeVMEVariant::asQString |
( |
| ) |
|
|
inline |
◆ asQTime()
const QTime & QDeclarativeVMEVariant::asQTime |
( |
| ) |
|
|
inline |
◆ asQUrl()
const QUrl & QDeclarativeVMEVariant::asQUrl |
( |
| ) |
|
|
inline |
Definition at line 208 of file qdeclarativevmemetaobject.cpp.
The QUrl class provides a convenient interface for working with URLs.
const void * dataPtr() const
◆ asQVariant()
const QVariant & QDeclarativeVMEVariant::asQVariant |
( |
| ) |
|
|
inline |
◆ cleanup()
void QDeclarativeVMEVariant::cleanup |
( |
| ) |
|
|
inlineprivate |
Definition at line 107 of file qdeclarativevmemetaobject.cpp.
Referenced by setValue(), and ~QDeclarativeVMEVariant().
135 }
else if (
type == qMetaTypeId<QVariant>()) {
138 }
else if (
type == qMetaTypeId<QScriptValue>()) {
The QVariant class acts like a union for the most common Qt data types.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QDate class provides date functions.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
const void * dataPtr() const
The QTime class provides clock time functions.
The QDateTime class provides date and time functions.
The QScriptValue class acts as a container for the Qt Script data types.
◆ dataPtr() [1/2]
const void * QDeclarativeVMEVariant::dataPtr |
( |
| ) |
const |
|
inline |
Definition at line 150 of file qdeclarativevmemetaobject.cpp.
Referenced by asBool(), asDouble(), asInt(), asQColor(), asQDate(), asQDateTime(), asQObject(), asQScriptValue(), asQString(), asQTime(), asQUrl(), asQVariant(), cleanup(), and setValue().
◆ dataPtr() [2/2]
void * QDeclarativeVMEVariant::dataPtr |
( |
| ) |
|
|
inline |
◆ dataType()
int QDeclarativeVMEVariant::dataType |
( |
| ) |
const |
|
inline |
◆ setValue() [1/12]
void QDeclarativeVMEVariant::setValue |
( |
QObject * |
v | ) |
|
|
inline |
Definition at line 256 of file qdeclarativevmemetaobject.cpp.
Referenced by asBool(), asDouble(), asInt(), asQColor(), asQDate(), asQDateTime(), asQObject(), asQScriptValue(), asQString(), asQTime(), asQUrl(), asQVariant(), QDeclarativeVMEMetaObject::metaCall(), QDeclarativeVMEMetaObject::QDeclarativeVMEMetaObject(), and QDeclarativeVMEMetaObject::writeVarProperty().
const void * dataPtr() const
◆ setValue() [2/12]
void QDeclarativeVMEVariant::setValue |
( |
const QVariant & |
v | ) |
|
|
inline |
Definition at line 266 of file qdeclarativevmemetaobject.cpp.
268 if (
type != qMetaTypeId<QVariant>()) {
270 type = qMetaTypeId<QVariant>();
The QVariant class acts like a union for the most common Qt data types.
const void * dataPtr() const
◆ setValue() [3/12]
void QDeclarativeVMEVariant::setValue |
( |
int |
v | ) |
|
|
inline |
◆ setValue() [4/12]
void QDeclarativeVMEVariant::setValue |
( |
bool |
v | ) |
|
|
inline |
◆ setValue() [5/12]
void QDeclarativeVMEVariant::setValue |
( |
double |
v | ) |
|
|
inline |
◆ setValue() [6/12]
void QDeclarativeVMEVariant::setValue |
( |
const QString & |
v | ) |
|
|
inline |
◆ setValue() [7/12]
void QDeclarativeVMEVariant::setValue |
( |
const QUrl & |
v | ) |
|
|
inline |
Definition at line 315 of file qdeclarativevmemetaobject.cpp.
The QUrl class provides a convenient interface for working with URLs.
const void * dataPtr() const
◆ setValue() [8/12]
void QDeclarativeVMEVariant::setValue |
( |
const QColor & |
v | ) |
|
|
inline |
◆ setValue() [9/12]
void QDeclarativeVMEVariant::setValue |
( |
const QTime & |
v | ) |
|
|
inline |
◆ setValue() [10/12]
void QDeclarativeVMEVariant::setValue |
( |
const QDate & |
v | ) |
|
|
inline |
◆ setValue() [11/12]
void QDeclarativeVMEVariant::setValue |
( |
const QDateTime & |
v | ) |
|
|
inline |
◆ setValue() [12/12]
void QDeclarativeVMEVariant::setValue |
( |
const QScriptValue & |
v | ) |
|
|
inline |
Definition at line 370 of file qdeclarativevmemetaobject.cpp.
372 if (
type != qMetaTypeId<QScriptValue>()) {
374 type = qMetaTypeId<QScriptValue>();
const void * dataPtr() const
The QScriptValue class acts as a container for the Qt Script data types.
◆ data
void* QDeclarativeVMEVariant::data[4] |
|
private |
◆ type
int QDeclarativeVMEVariant::type |
|
private |
Definition at line 91 of file qdeclarativevmemetaobject.cpp.
Referenced by asBool(), asDouble(), asInt(), asQColor(), asQDate(), asQDateTime(), asQObject(), asQScriptValue(), asQString(), asQTime(), asQUrl(), asQVariant(), cleanup(), dataType(), and setValue().
The documentation for this class was generated from the following file: