/***************************************************************************
                            QVariant.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QVariant implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QVariant(Class dummy){}

	private native void newQVariant();
	public QVariant() {
		newQVariant();
	}
	protected native void finalize() throws InternalError;
	private native void newQVariant( QVariant arg1);
	public QVariant( QVariant arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QDataStream s);
	public QVariant( QDataStream s) {
		newQVariant( s);
	}
	private native void newQVariant( String arg1);
	public QVariant( String arg1) {
		newQVariant( arg1);
	}
//	private native void newQVariant( String arg1);
//	public QVariant( String arg1) {
//		newQVariant( arg1);
//	}
//	private native void newQVariant( String arg1);
//	public QVariant( String arg1) {
//		newQVariant( arg1);
//	}
	private native void newQVariant( String[] arg1);
	public QVariant( String[] arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QFont arg1);
	public QVariant( QFont arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QPixmap arg1);
	public QVariant( QPixmap arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QImage arg1);
	public QVariant( QImage arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QBrush arg1);
	public QVariant( QBrush arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QPoint arg1);
	public QVariant( QPoint arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QRect arg1);
	public QVariant( QRect arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QSize arg1);
	public QVariant( QSize arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QColor arg1);
	public QVariant( QColor arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QPalette arg1);
	public QVariant( QPalette arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QColorGroup arg1);
	public QVariant( QColorGroup arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QIconSet arg1);
	public QVariant( QIconSet arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QPointArray arg1);
	public QVariant( QPointArray arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QRegion arg1);
	public QVariant( QRegion arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QBitmap arg1);
	public QVariant( QBitmap arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QCursor arg1);
	public QVariant( QCursor arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( Calendar arg1);
	public QVariant( Calendar arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( Date arg1);
	public QVariant( Date arg1) {
		newQVariant( arg1);
	}
//	private native void newQVariant( Calendar arg1);
//	public QVariant( Calendar arg1) {
//		newQVariant( arg1);
//	}
	private native void newQVariant( byte[] arg1);
	public QVariant( byte[] arg1) {
		newQVariant( arg1);
	}
//	private native void newQVariant( QBitArray arg1);
//	public QVariant( QBitArray arg1) {
//		newQVariant( arg1);
//	}
	private native void newQVariant( QKeySequence arg1);
	public QVariant( QKeySequence arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( int arg1);
	public QVariant( int arg1) {
		newQVariant( arg1);
	}
//	private native void newQVariant( int arg1);
//	public QVariant( int arg1) {
//		newQVariant( arg1);
//	}
	private native void newQVariant( boolean arg1, int arg2);
	public QVariant( boolean arg1, int arg2) {
		newQVariant( arg1, arg2);
	}
	private native void newQVariant( double arg1);
	public QVariant( double arg1) {
		newQVariant( arg1);
	}
	private native void newQVariant( QSizePolicy arg1);
	public QVariant( QSizePolicy arg1) {
		newQVariant( arg1);
	}
	public native int type();
	public native String typeName();
	public native boolean canCast( int arg1);
	public native boolean cast( int arg1);
	public native boolean isValid();
	public native void clear();
	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 Calendar toDate();
	public native Date toTime();
	public native Calendar toDateTime();
	public native byte[] toByteArray();
//	public native QBitArray toBitArray();
	public native QKeySequence toKeySequence();
	public native int toInt( int[] ok);
	public native int toInt();
	public native int toUInt( int[] ok);
	public native int toUInt();
	public native boolean toBool();
	public native double toDouble( int[] ok);
	public native double toDouble();
	public native QSizePolicy toSizePolicy();
	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 Calendar asDate();
	public native Date asTime();
	public native Calendar asDateTime();
	public native byte[] asByteArray();
//	public native QBitArray asBitArray();
	public native QKeySequence asKeySequence();
	public native int asInt();
	public native int asUInt();
	public native boolean asBool();
	public native double asDouble();
	public native QSizePolicy asSizePolicy();
	public native void load( QDataStream arg1);
	public native void save( QDataStream arg1);
	public static native String typeToName( int typ);
	public static native int nameToType( String name);
	public static final int Invalid = 0;
	public static final int Map = 1;
	public static final int List = 2;
	public static final int String = 3;
	public static final int StringList = 4;
	public static final int Font = 5;
	public static final int Pixmap = 6;
	public static final int Brush = 7;
	public static final int Rect = 8;
	public static final int Size = 9;
	public static final int Color = 10;
	public static final int Palette = 11;
	public static final int ColorGroup = 12;
	public static final int IconSet = 13;
	public static final int Point = 14;
	public static final int Image = 15;
	public static final int Int = 16;
	public static final int UInt = 17;
	public static final int Bool = 18;
	public static final int Double = 19;
	public static final int CString = 20;
	public static final int PointArray = 21;
	public static final int Region = 22;
	public static final int Bitmap = 23;
	public static final int Cursor = 24;
	public static final int SizePolicy = 25;
	public static final int Date = 26;
	public static final int Time = 27;
	public static final int DateTime = 28;
	public static final int ByteArray = 29;
	public static final int BitArray = 30;
	public static final int KeySequence = 31;
}
