diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QVariant.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QVariant.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QVariant.java | 300 |
1 files changed, 150 insertions, 150 deletions
diff --git a/qtjava/javalib/org/kde/qt/QVariant.java b/qtjava/javalib/org/kde/qt/QVariant.java index 87e27b3a..41a8ce67 100644 --- a/qtjava/javalib/org/kde/qt/QVariant.java +++ b/qtjava/javalib/org/kde/qt/QVariant.java @@ -6,10 +6,10 @@ import java.util.ArrayList; import java.util.Calendar; import java.util.Date; -public class QVariant implements QtSupport { +public class TQVariant implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QVariant(Class dummy){} + protected TQVariant(Class dummy){} public static final int Invalid = 0; public static final int Map = 1; @@ -47,131 +47,131 @@ public class QVariant implements QtSupport { public static final int LongLong = 33; public static final int ULongLong = 34; - public QVariant() { - newQVariant(); + public TQVariant() { + newTQVariant(); } - private native void newQVariant(); - public QVariant(QVariant arg1) { - newQVariant(arg1); + private native void newTQVariant(); + public TQVariant(TQVariant arg1) { + newTQVariant(arg1); } - private native void newQVariant(QVariant arg1); - public QVariant(QDataStream s) { - newQVariant(s); + private native void newTQVariant(TQVariant arg1); + public TQVariant(TQDataStream s) { + newTQVariant(s); } - private native void newQVariant(QDataStream s); - public QVariant(String arg1) { - newQVariant(arg1); + private native void newTQVariant(TQDataStream s); + public TQVariant(String arg1) { + newTQVariant(arg1); } - private native void newQVariant(String arg1); - public QVariant(String[] arg1) { - newQVariant(arg1); + private native void newTQVariant(String arg1); + public TQVariant(String[] arg1) { + newTQVariant(arg1); } - private native void newQVariant(String[] arg1); - public QVariant(QFont arg1) { - newQVariant(arg1); + private native void newTQVariant(String[] arg1); + public TQVariant(TQFont arg1) { + newTQVariant(arg1); } - private native void newQVariant(QFont arg1); - public QVariant(QPixmap arg1) { - newQVariant(arg1); + private native void newTQVariant(TQFont arg1); + public TQVariant(TQPixmap arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPixmap arg1); - public QVariant(QImage arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPixmap arg1); + public TQVariant(TQImage arg1) { + newTQVariant(arg1); } - private native void newQVariant(QImage arg1); - public QVariant(QBrush arg1) { - newQVariant(arg1); + private native void newTQVariant(TQImage arg1); + public TQVariant(TQBrush arg1) { + newTQVariant(arg1); } - private native void newQVariant(QBrush arg1); - public QVariant(QPoint arg1) { - newQVariant(arg1); + private native void newTQVariant(TQBrush arg1); + public TQVariant(TQPoint arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPoint arg1); - public QVariant(QRect arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPoint arg1); + public TQVariant(TQRect arg1) { + newTQVariant(arg1); } - private native void newQVariant(QRect arg1); - public QVariant(QSize arg1) { - newQVariant(arg1); + private native void newTQVariant(TQRect arg1); + public TQVariant(TQSize arg1) { + newTQVariant(arg1); } - private native void newQVariant(QSize arg1); - public QVariant(QColor arg1) { - newQVariant(arg1); + private native void newTQVariant(TQSize arg1); + public TQVariant(TQColor arg1) { + newTQVariant(arg1); } - private native void newQVariant(QColor arg1); - public QVariant(QPalette arg1) { - newQVariant(arg1); + private native void newTQVariant(TQColor arg1); + public TQVariant(TQPalette arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPalette arg1); - public QVariant(QColorGroup arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPalette arg1); + public TQVariant(TQColorGroup arg1) { + newTQVariant(arg1); } - private native void newQVariant(QColorGroup arg1); - public QVariant(QIconSet arg1) { - newQVariant(arg1); + private native void newTQVariant(TQColorGroup arg1); + public TQVariant(TQIconSet arg1) { + newTQVariant(arg1); } - private native void newQVariant(QIconSet arg1); - public QVariant(QPointArray arg1) { - newQVariant(arg1); + private native void newTQVariant(TQIconSet arg1); + public TQVariant(TQPointArray arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPointArray arg1); - public QVariant(QRegion arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPointArray arg1); + public TQVariant(TQRegion arg1) { + newTQVariant(arg1); } - private native void newQVariant(QRegion arg1); - public QVariant(QBitmap arg1) { - newQVariant(arg1); + private native void newTQVariant(TQRegion arg1); + public TQVariant(TQBitmap arg1) { + newTQVariant(arg1); } - private native void newQVariant(QBitmap arg1); - public QVariant(QCursor arg1) { - newQVariant(arg1); + private native void newTQVariant(TQBitmap arg1); + public TQVariant(TQCursor arg1) { + newTQVariant(arg1); } - private native void newQVariant(QCursor arg1); - public QVariant(Calendar arg1) { - newQVariant(arg1); + private native void newTQVariant(TQCursor arg1); + public TQVariant(Calendar arg1) { + newTQVariant(arg1); } - private native void newQVariant(Calendar arg1); - public QVariant(Date arg1) { - newQVariant(arg1); + private native void newTQVariant(Calendar arg1); + public TQVariant(Date arg1) { + newTQVariant(arg1); } - private native void newQVariant(Date arg1); - public QVariant(byte[] arg1) { - newQVariant(arg1); + private native void newTQVariant(Date arg1); + public TQVariant(byte[] arg1) { + newTQVariant(arg1); } - private native void newQVariant(byte[] arg1); - // QVariant* QVariant(const QBitArray& arg1); >>>> NOT CONVERTED - public QVariant(QKeySequence arg1) { - newQVariant(arg1); + private native void newTQVariant(byte[] arg1); + // TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED + public TQVariant(TQKeySequence arg1) { + newTQVariant(arg1); } - private native void newQVariant(QKeySequence arg1); - public QVariant(QPen arg1) { - newQVariant(arg1); + private native void newTQVariant(TQKeySequence arg1); + public TQVariant(TQPen arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPen arg1); - // QVariant* QVariant(const QValueList<QVariant>& arg1); >>>> NOT CONVERTED - // QVariant* QVariant(const QMap<QString, QVariant>& arg1); >>>> NOT CONVERTED - public QVariant(int arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPen arg1); + // TQVariant* TQVariant(const TQValueList<TQVariant>& arg1); >>>> NOT CONVERTED + // TQVariant* TQVariant(const TQMap<TQString, TQVariant>& arg1); >>>> NOT CONVERTED + public TQVariant(int arg1) { + newTQVariant(arg1); } - private native void newQVariant(int arg1); - public QVariant(long arg1) { - newQVariant(arg1); + private native void newTQVariant(int arg1); + public TQVariant(long arg1) { + newTQVariant(arg1); } - private native void newQVariant(long arg1); - public QVariant(boolean arg1, int arg2) { - newQVariant(arg1,arg2); + private native void newTQVariant(long arg1); + public TQVariant(boolean arg1, int arg2) { + newTQVariant(arg1,arg2); } - private native void newQVariant(boolean arg1, int arg2); - public QVariant(double arg1) { - newQVariant(arg1); + private native void newTQVariant(boolean arg1, int arg2); + public TQVariant(double arg1) { + newTQVariant(arg1); } - private native void newQVariant(double arg1); - public QVariant(QSizePolicy arg1) { - newQVariant(arg1); + private native void newTQVariant(double arg1); + public TQVariant(TQSizePolicy arg1) { + newTQVariant(arg1); } - private native void newQVariant(QSizePolicy arg1); - public native boolean op_equals(QVariant arg1); - public native boolean op_not_equals(QVariant arg1); + private native void newTQVariant(TQSizePolicy arg1); + public native boolean op_equals(TQVariant arg1); + public native boolean op_not_equals(TQVariant arg1); public native int type(); public native String typeName(); public native boolean canCast(int arg1); @@ -182,28 +182,28 @@ public class QVariant implements QtSupport { public native String toString(); public native String toCString(); public native ArrayList toStringList(); - public native QFont toFont(); - public native QPixmap toPixmap(); - public native QImage toImage(); - public native QBrush toBrush(); - public native QPoint toPoint(); - public native QRect toRect(); - public native QSize toSize(); - public native QColor toColor(); - public native QPalette toPalette(); - public native QColorGroup toColorGroup(); - public native QIconSet toIconSet(); - public native QPointArray toPointArray(); - public native QBitmap toBitmap(); - public native QRegion toRegion(); - public native QCursor toCursor(); + public native TQFont toFont(); + public native TQPixmap toPixmap(); + public native TQImage toImage(); + public native TQBrush toBrush(); + public native TQPoint toPoint(); + public native TQRect toRect(); + public native TQSize toSize(); + public native TQColor toColor(); + public native TQPalette toPalette(); + public native TQColorGroup toColorGroup(); + public native TQIconSet toIconSet(); + public native TQPointArray toPointArray(); + public native TQBitmap toBitmap(); + public native TQRegion toRegion(); + public native TQCursor toCursor(); public native Calendar toDate(); public native Date toTime(); public native Calendar toDateTime(); public native byte[] toByteArray(); - // const QBitArray toBitArray(); >>>> NOT CONVERTED - public native QKeySequence toKeySequence(); - public native QPen toPen(); + // const TQBitArray toBitArray(); >>>> NOT CONVERTED + public native TQKeySequence toKeySequence(); + public native TQPen toPen(); public native int toInt(boolean[] ok); public native int toInt(); public native int toUInt(boolean[] ok); @@ -215,54 +215,54 @@ public class QVariant implements QtSupport { public native boolean toBool(); public native double toDouble(boolean[] ok); public native double toDouble(); - // const QValueList<QVariant> toList(); >>>> NOT CONVERTED - // const QMap<QString, QVariant> toMap(); >>>> NOT CONVERTED - public native QSizePolicy toSizePolicy(); - // QValueListConstIterator<QString> stringListBegin(); >>>> NOT CONVERTED - // QValueListConstIterator<QString> stringListEnd(); >>>> NOT CONVERTED - // QValueListConstIterator<QVariant> listBegin(); >>>> NOT CONVERTED - // QValueListConstIterator<QVariant> listEnd(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapBegin(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapEnd(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapFind(const QString& arg1); >>>> NOT CONVERTED + // const TQValueList<TQVariant> toList(); >>>> NOT CONVERTED + // const TQMap<TQString, TQVariant> toMap(); >>>> NOT CONVERTED + public native TQSizePolicy toSizePolicy(); + // TQValueListConstIterator<TQString> stringListBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQString> stringListEnd(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQVariant> listBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQVariant> listEnd(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> mapBegin(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> mapEnd(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> mapFind(const TQString& arg1); >>>> NOT CONVERTED public native String asString(); public native String asCString(); public native ArrayList asStringList(); - public native QFont asFont(); - public native QPixmap asPixmap(); - public native QImage asImage(); - public native QBrush asBrush(); - public native QPoint asPoint(); - public native QRect asRect(); - public native QSize asSize(); - public native QColor asColor(); - public native QPalette asPalette(); - public native QColorGroup asColorGroup(); - public native QIconSet asIconSet(); - public native QPointArray asPointArray(); - public native QBitmap asBitmap(); - public native QRegion asRegion(); - public native QCursor asCursor(); + public native TQFont asFont(); + public native TQPixmap asPixmap(); + public native TQImage asImage(); + public native TQBrush asBrush(); + public native TQPoint asPoint(); + public native TQRect asRect(); + public native TQSize asSize(); + public native TQColor asColor(); + public native TQPalette asPalette(); + public native TQColorGroup asColorGroup(); + public native TQIconSet asIconSet(); + public native TQPointArray asPointArray(); + public native TQBitmap asBitmap(); + public native TQRegion asRegion(); + public native TQCursor asCursor(); public native Calendar asDate(); public native Date asTime(); public native Calendar asDateTime(); public native byte[] asByteArray(); - // QBitArray& asBitArray(); >>>> NOT CONVERTED - public native QKeySequence asKeySequence(); - public native QPen asPen(); + // TQBitArray& asBitArray(); >>>> NOT CONVERTED + public native TQKeySequence asKeySequence(); + public native TQPen asPen(); public native int asInt(); public native int asUInt(); // Q_LLONG& asLongLong(); >>>> NOT CONVERTED // Q_ULLONG& asULongLong(); >>>> NOT CONVERTED public native boolean asBool(); public native double asDouble(); - // QValueList<QVariant>& asList(); >>>> NOT CONVERTED - // QMap<QString, QVariant>& asMap(); >>>> NOT CONVERTED - public native QSizePolicy asSizePolicy(); - public native void load(QDataStream arg1); - public native void save(QDataStream arg1); - // void* rawAccess(void* arg1,QVariant::Type arg2,bool arg3); >>>> NOT CONVERTED - // void* rawAccess(void* arg1,QVariant::Type arg2); >>>> NOT CONVERTED + // TQValueList<TQVariant>& asList(); >>>> NOT CONVERTED + // TQMap<TQString, TQVariant>& asMap(); >>>> NOT CONVERTED + public native TQSizePolicy asSizePolicy(); + public native void load(TQDataStream arg1); + public native void save(TQDataStream arg1); + // void* rawAccess(void* arg1,TQVariant::Type arg2,bool arg3); >>>> NOT CONVERTED + // void* rawAccess(void* arg1,TQVariant::Type arg2); >>>> NOT CONVERTED // void* rawAccess(void* arg1); >>>> NOT CONVERTED // void* rawAccess(); >>>> NOT CONVERTED public static native String typeToName(int typ); |