NAME

Qt::Core::QVariant

PUBLIC METHODS

QVariant()
QVariant(QVariant::Type type)
QVariant(const QVariant & other)
QVariant(QDataStream & s)
QVariant(int i)
QVariant(uint ui)
QVariant(qlonglong ll)
QVariant(qulonglong ull)
QVariant(bool b)
QVariant(double d)
QVariant(float f)
QVariant(const char * str)
QVariant(const QByteArray & bytearray)
QVariant(const QBitArray & bitarray)
QVariant(const QString & string)
QVariant(const QLatin1String & string)
QVariant(const QStringList & stringlist)
QVariant(const QChar & qchar)
QVariant(const QDate & date)
QVariant(const QTime & time)
QVariant(const QDateTime & datetime)
QVariant(const QSize & size)
QVariant(const QSizeF & size)
QVariant(const QPoint & pt)
QVariant(const QPointF & pt)
QVariant(const QLine & line)
QVariant(const QLineF & line)
QVariant(const QRect & rect)
QVariant(const QRectF & rect)
QVariant(const QUrl & url)
QVariant(const QLocale & locale)
QVariant(const QRegExp & regExp)
QVariant(Qt::GlobalColor color)
QVariant(int typeOrUserType, const void * copy)
QVariant(int typeOrUserType, const void * copy, uint flags)
~QVariant()
bool canConvert(QVariant::Type t)
void clear()
const void * constData()
bool convert(QVariant::Type t)
void * data()
const void * data()
void detach()
bool isDetached()
bool isNull()
bool isValid()
void load(QDataStream & ds)
static QVariant::Type nameToType(const char * name)
bool operator!=(const QVariant & v)
QVariant & operator=(const QVariant & other)
bool operator==(const QVariant & v)
void save(QDataStream & ds)
QBitArray toBitArray()
bool toBool()
QByteArray toByteArray()
QChar toChar()
QDate toDate()
QDateTime toDateTime()
double toDouble(bool * ok = 0)
double toDouble(bool * ok)
float toFloat(bool * ok = 0)
float toFloat(bool * ok)
int toInt(bool * ok = 0)
int toInt(bool * ok)
QLine toLine()
QLineF toLineF()
QLocale toLocale()
qlonglong toLongLong(bool * ok = 0)
qlonglong toLongLong(bool * ok)
QPoint toPoint()
QPointF toPointF()
qreal toReal(bool * ok = 0)
qreal toReal(bool * ok)
QRect toRect()
QRectF toRectF()
QRegExp toRegExp()
QSize toSize()
QSizeF toSizeF()
QString toString()
QStringList toStringList()
QTime toTime()
uint toUInt(bool * ok = 0)
uint toUInt(bool * ok)
qulonglong toULongLong(bool * ok = 0)
qulonglong toULongLong(bool * ok)
QUrl toUrl()
QVariant::Type type()
const char * typeName()
static const char * typeToName(QVariant::Type type)
int userType()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html