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(const QEasingCurve & easing)
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)
double toDouble(bool * ok = 0)
QEasingCurve toEasingCurve()
float toFloat(bool * ok)
float toFloat(bool * ok = 0)
int toInt(bool * ok)
int toInt(bool * ok = 0)
QLine toLine()
QLineF toLineF()
QLocale toLocale()
qlonglong toLongLong(bool * ok)
qlonglong toLongLong(bool * ok = 0)
QPoint toPoint()
QPointF toPointF()
qreal toReal(bool * ok)
qreal toReal(bool * ok = 0)
QRect toRect()
QRectF toRectF()
QRegExp toRegExp()
QSize toSize()
QSizeF toSizeF()
QString toString()
QStringList toStringList()
QTime toTime()
uint toUInt(bool * ok)
uint toUInt(bool * ok = 0)
qulonglong toULongLong(bool * ok)
qulonglong toULongLong(bool * ok = 0)
QUrl toUrl()
QVariant::Type type()
const char * typeName()
static const char * typeToName(QVariant::Type type)
int userType()

ENUM VALUES

Invalid
Bool
Int
UInt
LongLong
ULongLong
Double
Char
Map
List
String
StringList
ByteArray
BitArray
Date
Time
DateTime
Url
Locale
Rect
RectF
Size
SizeF
Line
LineF
Point
PointF
RegExp
Hash
EasingCurve
LastCoreType
Font
Pixmap
Brush
Color
Palette
Icon
Image
Polygon
Region
Bitmap
Cursor
SizePolicy
KeySequence
Pen
TextLength
TextFormat
Matrix
Transform
Matrix4x4
Vector2D
Vector3D
Vector4D
Quaternion
LastGuiType
UserType
LastType

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 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