diff options
Diffstat (limited to 'sip/qt/qvariant.sip')
-rw-r--r-- | sip/qt/qvariant.sip | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sip/qt/qvariant.sip b/sip/qt/qvariant.sip index 36d9eca..a340cca 100644 --- a/sip/qt/qvariant.sip +++ b/sip/qt/qvariant.sip @@ -193,8 +193,6 @@ Not yet implemented. %End -%If (TQt_2_1_0 -) - class TQVariant { %TypeHeaderCode @@ -228,24 +226,16 @@ public: Region, Bitmap, Cursor, -%If (TQt_2_2_0 -) SizePolicy, -%End -%If (TQt_3_0_0 -) Date, Time, DateTime, ByteArray, BitArray, KeySequence, -%End -%If (TQt_3_1_0 -) Pen, -%End -%If (TQt_3_2_0 -) LongLong, ULongLong, -%End }; TQVariant(); @@ -271,48 +261,34 @@ public: TQVariant(const TQRegion &); TQVariant(const TQBitmap &); TQVariant(const TQCursor &); -%If (TQt_3_0_0 -) TQVariant(const TQDate &); TQVariant(const TQTime &); TQVariant(const TQDateTime &); TQVariant(const TQByteArray &); // TQVariant(const TQBitArray &); -%End // TQVariant(const TQValueList<TQVariant> &); // TQVariant(const TQMap<TQString,TQVariant> &); TQVariant(int /Constrained/); // TQVariant(uint); -%If (TQt_3_2_0 -) // TQVariant(TQ_LLONG); // TQVariant(TQ_ULLONG); -%End TQVariant(bool,int); TQVariant(double); -%If (TQt_2_2_0 -) TQVariant(TQSizePolicy); -%End -%If (TQt_3_0_0 -) // This must appear after the TQString, int and double ctors because // each of those can be converted automatically to a TQKeySequence and // we want those to take precedence. TQVariant(const TQKeySequence &); -%End -%If (TQt_3_1_0 -) TQVariant(const TQPen &); -%End Type type() const; const char* typeName() const; bool canCast(Type) const; -%If (TQt_3_0_0 -) bool cast(Type); -%End bool isValid() const; -%If (TQt_3_1_0 -) bool isNull() const; -%End void clear(); @@ -334,30 +310,22 @@ public: const TQBitmap toBitmap() const; const TQRegion toRegion() const; const TQCursor toCursor() const; -%If (TQt_3_0_0 -) const TQDate toDate() const; const TQTime toTime() const; const TQDateTime toDateTime() const; const TQByteArray toByteArray() const; // const TQBitArray toBitArray() const; const TQKeySequence toKeySequence() const; -%End -%If (TQt_3_1_0 -) const TQPen toPen() const; -%End int toInt() const; uint toUInt() const; -%If (TQt_3_2_0 -) // TQ_LLONG toLongLong(bool * = 0) const; // TQ_ULLONG toULongLong( bool * = 0) const; -%End bool toBool() const; double toDouble() const; // const TQValueList<TQVariant> toList() const; // const TQMap<TQString,TQVariant> toMap() const; -%If (TQt_2_2_0 -) TQSizePolicy toSizePolicy() const; -%End // TQValueListConstIterator<TQVariant> listBegin() const; // TQValueListConstIterator<TQVariant> listEnd() const; @@ -385,30 +353,22 @@ public: TQBitmap & asBitmap(); TQRegion & asRegion(); TQCursor & asCursor(); -%If (TQt_3_0_0 -) TQDate & asDate(); TQTime & asTime(); TQDateTime & asDateTime(); TQByteArray & asByteArray(); // TQBitArray & asBitArray(); TQKeySequence & asKeySequence(); -%End -%If (TQt_3_1_0 -) TQPen & asPen(); -%End // int & asInt(); // uint & asUInt(); -%If (TQt_3_2_0 -) // TQ_LLONG & asLongLong(); // TQ_ULLONG & asULongLong(); -%End // bool & asBool(); // double & asDouble(); // TQValueList<TQVariant> & asList(); // TQMap<TQString,TQVariant> & asMap(); -%If (TQt_2_2_0 -) TQSizePolicy & asSizePolicy(); -%End void load(TQDataStream &); void save(TQDataStream &) const; @@ -416,5 +376,3 @@ public: static const char *typeToName(Type); static Type nameToType(const char *); }; - -%End |