summaryrefslogtreecommitdiffstats
path: root/sip/qt/qvariant.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qvariant.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qvariant.sip')
-rw-r--r--sip/qt/qvariant.sip316
1 files changed, 158 insertions, 158 deletions
diff --git a/sip/qt/qvariant.sip b/sip/qt/qvariant.sip
index c942c3e..3c7a134 100644
--- a/sip/qt/qvariant.sip
+++ b/sip/qt/qvariant.sip
@@ -1,29 +1,29 @@
-// This is the SIP interface definition for QVariant.
+// This is the SIP interface definition for TQVariant.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QVariant (Qt v2.1+)</Title>
+<Sect2><Title>TQVariant (TQt v2.1+)</Title>
<FuncSynopsis>
- <FuncDef><Function>QVariant</Function></FuncDef>
+ <FuncDef><Function>TQVariant</Function></FuncDef>
<ParamDef>const char *<Parameter>val</Parameter></ParamDef>
</FuncSynopsis>
<Para>
@@ -31,35 +31,35 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef><Function>QVariant</Function></FuncDef>
- <ParamDef>const QBitArray &amp;<Parameter>val</Parameter></ParamDef>
+ <FuncDef><Function>TQVariant</Function></FuncDef>
+ <ParamDef>const TQBitArray &amp;<Parameter>val</Parameter></ParamDef>
</FuncSynopsis>
<Para>
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
</Para>
<FuncSynopsis>
- <FuncDef><Function>QVariant</Function></FuncDef>
- <ParamDef>const QValueList&lt;QVariant&gt; &amp;<Parameter>val</Parameter></ParamDef>
+ <FuncDef><Function>TQVariant</Function></FuncDef>
+ <ParamDef>const TQValueList&lt;TQVariant&gt; &amp;<Parameter>val</Parameter></ParamDef>
</FuncSynopsis>
<Para>
Not yet implemented.
</Para>
<FuncSynopsis>
- <FuncDef><Function>QVariant</Function></FuncDef>
- <ParamDef>const QMap&lt;QString,QVariant&gt; &amp;<Parameter>val</Parameter></ParamDef>
+ <FuncDef><Function>TQVariant</Function></FuncDef>
+ <ParamDef>const TQMap&lt;TQString,TQVariant&gt; &amp;<Parameter>val</Parameter></ParamDef>
</FuncSynopsis>
<Para>
Not yet implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QBitArray &amp;<Function>asBitArray</Function></FuncDef>
+ <FuncDef>TQBitArray &amp;<Function>asBitArray</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
</Para>
<FuncSynopsis>
@@ -87,7 +87,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QValueList&lt;QVariant&gt; &amp;<Function>asList</Function></FuncDef>
+ <FuncDef>TQValueList&lt;TQVariant&gt; &amp;<Function>asList</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -95,7 +95,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QMap&lt;QString,QVariant&gt; &amp;<Function>asMap</Function></FuncDef>
+ <FuncDef>TQMap&lt;TQString,TQVariant&gt; &amp;<Function>asMap</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -111,7 +111,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QValueListConstIterator&lt;QVariant&gt;<Function>listBegin</Function> const</FuncDef>
+ <FuncDef>TQValueListConstIterator&lt;TQVariant&gt;<Function>listBegin</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -119,7 +119,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QValueListConstIterator&lt;QVariant&gt;<Function>listEnd</Function> const</FuncDef>
+ <FuncDef>TQValueListConstIterator&lt;TQVariant&gt;<Function>listEnd</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -127,7 +127,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QMapConstIterator&lt;QString,QVariant&gt;<Function>mapBegin</Function> const</FuncDef>
+ <FuncDef>TQMapConstIterator&lt;TQString,TQVariant&gt;<Function>mapBegin</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -135,7 +135,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QMapConstIterator&lt;QString,QVariant&gt;<Function>mapEnd</Function> const</FuncDef>
+ <FuncDef>TQMapConstIterator&lt;TQString,TQVariant&gt;<Function>mapEnd</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -143,15 +143,15 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QMapConstIterator&lt;QString,QVariant&gt;<Function>mapFind</Function> const</FuncDef>
- <ParamDef>const QString &<Parameter>key</Parameter></ParamDef>
+ <FuncDef>TQMapConstIterator&lt;TQString,TQVariant&gt;<Function>mapFind</Function> const</FuncDef>
+ <ParamDef>const TQString &<Parameter>key</Parameter></ParamDef>
</FuncSynopsis>
<Para>
Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QValueListConstIterator&lt;QString&gt;<Function>stringListBegin</Function> const</FuncDef>
+ <FuncDef>TQValueListConstIterator&lt;TQString&gt;<Function>stringListBegin</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -159,7 +159,7 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>QValueListConstIterator&lt;QString&gt;<Function>stringListEnd</Function> const</FuncDef>
+ <FuncDef>TQValueListConstIterator&lt;TQString&gt;<Function>stringListEnd</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -167,15 +167,15 @@ Not implemented.
</Para>
<FuncSynopsis>
- <FuncDef>const QBitArray <Function>toBitArray</Function> const</FuncDef>
+ <FuncDef>const TQBitArray <Function>toBitArray</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
</Para>
<FuncSynopsis>
- <FuncDef>const QValueList&lt;QVariant&gt;<Function>toList</Function> const</FuncDef>
+ <FuncDef>const TQValueList&lt;TQVariant&gt;<Function>toList</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -183,7 +183,7 @@ Not yet implemented.
</Para>
<FuncSynopsis>
- <FuncDef>const QMap&lt;QString,QVariant&gt;<Function>toMap</Function> const</FuncDef>
+ <FuncDef>const TQMap&lt;TQString,TQVariant&gt;<Function>toMap</Function> const</FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -193,9 +193,9 @@ Not yet implemented.
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
-class QVariant
+class TQVariant
{
%TypeHeaderCode
#include <qvariant.h>
@@ -228,10 +228,10 @@ public:
Region,
Bitmap,
Cursor,
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
SizePolicy,
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
Date,
Time,
DateTime,
@@ -239,179 +239,179 @@ public:
BitArray,
KeySequence,
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
Pen,
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
LongLong,
ULongLong,
%End
};
- QVariant();
- QVariant(const QVariant &);
- QVariant(QDataStream &);
-
- QVariant(const QString &);
- QVariant(const QCString &);
-// QVariant(const char *);
- QVariant(const QStringList &);
- QVariant(const QFont &);
- QVariant(const QPixmap &);
- QVariant(const QImage &);
- QVariant(const QBrush &);
- QVariant(const QPoint &);
- QVariant(const QRect &);
- QVariant(const QSize &);
- QVariant(const QColor &);
- QVariant(const QPalette &);
- QVariant(const QColorGroup &);
- QVariant(const QIconSet &);
- QVariant(const QPointArray &);
- QVariant(const QRegion &);
- QVariant(const QBitmap &);
- QVariant(const QCursor &);
-%If (Qt_3_0_0 -)
- QVariant(const QDate &);
- QVariant(const QTime &);
- QVariant(const QDateTime &);
- QVariant(const QByteArray &);
-// QVariant(const QBitArray &);
+ TQVariant();
+ TQVariant(const TQVariant &);
+ TQVariant(TQDataStream &);
+
+ TQVariant(const TQString &);
+ TQVariant(const TQCString &);
+// TQVariant(const char *);
+ TQVariant(const TQStringList &);
+ TQVariant(const TQFont &);
+ TQVariant(const TQPixmap &);
+ TQVariant(const TQImage &);
+ TQVariant(const TQBrush &);
+ TQVariant(const TQPoint &);
+ TQVariant(const TQRect &);
+ TQVariant(const TQSize &);
+ TQVariant(const TQColor &);
+ TQVariant(const TQPalette &);
+ TQVariant(const TQColorGroup &);
+ TQVariant(const TQIconSet &);
+ TQVariant(const TQPointArray &);
+ 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
-// QVariant(const QValueList<QVariant> &);
-// QVariant(const QMap<QString,QVariant> &);
- QVariant(int /Constrained/);
-// QVariant(uint);
-%If (Qt_3_2_0 -)
-// QVariant(Q_LLONG);
-// QVariant(Q_ULLONG);
+// TQVariant(const TQValueList<TQVariant> &);
+// TQVariant(const TQMap<TQString,TQVariant> &);
+ TQVariant(int /Constrained/);
+// TQVariant(uint);
+%If (TQt_3_2_0 -)
+// TQVariant(Q_LLONG);
+// TQVariant(Q_ULLONG);
%End
- QVariant(bool,int);
- QVariant(double);
-%If (Qt_2_2_0 -)
- QVariant(QSizePolicy);
+ TQVariant(bool,int);
+ TQVariant(double);
+%If (TQt_2_2_0 -)
+ TQVariant(TQSizePolicy);
%End
-%If (Qt_3_0_0 -)
- // This must appear after the QString, int and double ctors because
- // each of those can be converted automatically to a QKeySequence and
+%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.
- QVariant(const QKeySequence &);
+ TQVariant(const TQKeySequence &);
%End
-%If (Qt_3_1_0 -)
- QVariant(const QPen &);
+%If (TQt_3_1_0 -)
+ TQVariant(const TQPen &);
%End
Type type() const;
const char* typeName() const;
bool canCast(Type) const;
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
bool cast(Type);
%End
bool isValid() const;
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
bool isNull() const;
%End
void clear();
- const QString toString() const;
- const QCString toCString() const;
- const QStringList toStringList() const;
- const QFont toFont() const;
- const QPixmap toPixmap() const;
- const QImage toImage() const;
- const QBrush toBrush() const;
- const QPoint toPoint() const;
- const QRect toRect() const;
- const QSize toSize() const;
- const QColor toColor() const;
- const QPalette toPalette() const;
- const QColorGroup toColorGroup() const;
- const QIconSet toIconSet() const;
- const QPointArray toPointArray() const;
- const QBitmap toBitmap() const;
- const QRegion toRegion() const;
- const QCursor toCursor() const;
-%If (Qt_3_0_0 -)
- const QDate toDate() const;
- const QTime toTime() const;
- const QDateTime toDateTime() const;
- const QByteArray toByteArray() const;
-// const QBitArray toBitArray() const;
- const QKeySequence toKeySequence() const;
+ const TQString toString() const;
+ const TQCString toCString() const;
+ const TQStringList toStringList() const;
+ const TQFont toFont() const;
+ const TQPixmap toPixmap() const;
+ const TQImage toImage() const;
+ const TQBrush toBrush() const;
+ const TQPoint toPoint() const;
+ const TQRect toRect() const;
+ const TQSize toSize() const;
+ const TQColor toColor() const;
+ const TQPalette toPalette() const;
+ const TQColorGroup toColorGroup() const;
+ const TQIconSet toIconSet() const;
+ const TQPointArray toPointArray() const;
+ 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 (Qt_3_1_0 -)
- const QPen toPen() const;
+%If (TQt_3_1_0 -)
+ const TQPen toPen() const;
%End
int toInt() const;
uint toUInt() const;
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
// Q_LLONG toLongLong(bool * = 0) const;
// Q_ULLONG toULongLong( bool * = 0) const;
%End
bool toBool() const;
double toDouble() const;
-// const QValueList<QVariant> toList() const;
-// const QMap<QString,QVariant> toMap() const;
-%If (Qt_2_2_0 -)
- QSizePolicy toSizePolicy() const;
+// const TQValueList<TQVariant> toList() const;
+// const TQMap<TQString,TQVariant> toMap() const;
+%If (TQt_2_2_0 -)
+ TQSizePolicy toSizePolicy() const;
%End
-// QValueListConstIterator<QVariant> listBegin() const;
-// QValueListConstIterator<QVariant> listEnd() const;
-// QValueListConstIterator<QString> stringListBegin() const;
-// QValueListConstIterator<QString> stringListEnd() const;
-// QMapConstIterator<QString,QVariant> mapBegin() const;
-// QMapConstIterator<QString,QVariant> mapEnd() const;
-// QMapConstIterator<QString,QVariant> mapFind(const QString &) const;
-
- QString & asString();
- QCString & asCString();
- QStringList & asStringList();
- QFont & asFont();
- QPixmap & asPixmap();
- QImage & asImage();
- QBrush & asBrush();
- QPoint & asPoint();
- QRect & asRect();
- QSize & asSize();
- QColor & asColor();
- QPalette & asPalette();
- QColorGroup & asColorGroup();
- QIconSet & asIconSet();
- QPointArray & asPointArray();
- QBitmap & asBitmap();
- QRegion & asRegion();
- QCursor & asCursor();
-%If (Qt_3_0_0 -)
- QDate & asDate();
- QTime & asTime();
- QDateTime & asDateTime();
- QByteArray & asByteArray();
-// QBitArray & asBitArray();
- QKeySequence & asKeySequence();
+// TQValueListConstIterator<TQVariant> listBegin() const;
+// TQValueListConstIterator<TQVariant> listEnd() const;
+// TQValueListConstIterator<TQString> stringListBegin() const;
+// TQValueListConstIterator<TQString> stringListEnd() const;
+// TQMapConstIterator<TQString,TQVariant> mapBegin() const;
+// TQMapConstIterator<TQString,TQVariant> mapEnd() const;
+// TQMapConstIterator<TQString,TQVariant> mapFind(const TQString &) const;
+
+ TQString & asString();
+ TQCString & asCString();
+ TQStringList & asStringList();
+ TQFont & asFont();
+ TQPixmap & asPixmap();
+ TQImage & asImage();
+ TQBrush & asBrush();
+ TQPoint & asPoint();
+ TQRect & asRect();
+ TQSize & asSize();
+ TQColor & asColor();
+ TQPalette & asPalette();
+ TQColorGroup & asColorGroup();
+ TQIconSet & asIconSet();
+ TQPointArray & asPointArray();
+ 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 (Qt_3_1_0 -)
- QPen & asPen();
+%If (TQt_3_1_0 -)
+ TQPen & asPen();
%End
// int & asInt();
// uint & asUInt();
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
// Q_LLONG & asLongLong();
// Q_ULLONG & asULongLong();
%End
// bool & asBool();
// double & asDouble();
-// QValueList<QVariant> & asList();
-// QMap<QString,QVariant> & asMap();
-%If (Qt_2_2_0 -)
- QSizePolicy & asSizePolicy();
+// TQValueList<TQVariant> & asList();
+// TQMap<TQString,TQVariant> & asMap();
+%If (TQt_2_2_0 -)
+ TQSizePolicy & asSizePolicy();
%End
- void load(QDataStream &);
- void save(QDataStream &) const;
+ void load(TQDataStream &);
+ void save(TQDataStream &) const;
static const char *typeToName(Type);
static Type nameToType(const char *);