|
|
Representation of a value object.
It stores a value and a value type. mostly is a QVariant, with some more datatypes when QT 3.0 will be out, probably all implementation will go away and we will have only a QVariant here. Actually, at my best knowledge, this is source compatible with QT 3.0 QVariant.
| enum Type { Invalid, Map, List, String, StringList, Font, Pixmap, Brush, Rect, Size, Color, Palette, ColorGroup, IconSet, Point, Image, Int, UInt, Bool, Double, CString, PointArray, Region, Bitmap, Cursor, SizePolicy, Date, Time, DateTime, ByteArray, Long, ULong } | Type |
| Value ()
| Value |
| ~Value ()
| ~Value |
| Value (const Value &)
| Value |
| Value (const QVariant &)
| Value |
| Value (const QDate& )
| Value |
| Value (const QTime& )
| Value |
| Value (const QDateTime& )
| Value |
| Value (const QString&)
| Value |
| Value (const char *)
| Value |
| Value (long)
| Value |
| Value (int)
| Value |
| Value (KDB_ULONG)
| Value |
| Value & operator = (const Value &)
| operator = |
| bool operator== ( const Value& )
| operator== |
[const]
| bool operator!= ( const Value& )
| operator!= |
[const]
| Type type ()
| type |
[const]
Reimplemented from QVariant.
| const char* typeName ()
| typeName |
[const]
Reimplemented from QVariant.
| bool canCast ( Type )
| canCast |
[const]
Reimplemented from QVariant.
| bool cast ( Type )
| cast |
| const QString toString ()
| toString |
[const]
Reimplemented from QVariant.
| const QDate toDate ()
| toDate |
[const]
| const QTime toTime ()
| toTime |
[const]
| const QDateTime toDateTime ()
| toDateTime |
[const]
| const long toLong ()
| toLong |
[const]
| const KDB_ULONG toULong ()
| toULong |
[const]
| QString& asString ()
| asString |
Reimplemented from QVariant.
| QDate& asDate ()
| asDate |
| QTime& asTime ()
| asTime |
| QDateTime& asDateTime ()
| asDateTime |
| long& asLong ()
| asLong |
| KDB_ULONG& asULong ()
| asULong |
| const char* typeToName ( Type typ )
| typeToName |
[static]
Reimplemented from QVariant.
| Type nameToType ( const char* name )
| nameToType |
[static]
Reimplemented from QVariant.