/***************************************************************************
                            QComboBox.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;

/**
 See {@link QComboBoxSignals} for signals emitted by QComboBox.

 See {@link QComboBoxEventHandling} for event handlers to override in subclasses of QComboBox.

*/
public class QComboBox extends QWidget  {
	protected QComboBox(Class dummy){super((Class) null);}

	private native void newQComboBox( QWidget parent, String name);
	public QComboBox( QWidget parent, String name) {
		super((Class) null);
		newQComboBox( parent, name);
	}
	public QComboBox( QWidget parent) {
		this( parent, null);
	}
	private native void newQComboBox();
	public QComboBox() {
		super((Class) null);
		newQComboBox();
	}
	private native void newQComboBox( boolean rw, QWidget parent, String name);
	public QComboBox( boolean rw, QWidget parent, String name) {
		super((Class) null);
		newQComboBox( rw, parent, name);
	}
	public QComboBox( boolean rw, QWidget parent) {
		this( rw, parent, null);
	}
	private native void newQComboBox( boolean rw);
	public QComboBox( boolean rw) {
		super((Class) null);
		newQComboBox( rw);
	}
	protected native void finalize() throws InternalError;
	public native int count();
	public native void insertStringList( String[] arg1, int index);
	public native void insertStringList( String[] arg1);
	public native void insertStrList( String[] arg1, int index);
	public native void insertStrList( String[] arg1);
//	public native void insertStrList( String[] arg1, int index);
//	public native void insertStrList( String[] arg1);
	public native void insertStrList( String arg1, int numStrings, int index);
	public native void insertStrList( String arg1);
	public native void insertItem( String text, int index);
	public native void insertItem( String text);
	public native void insertItem( QPixmap pixmap, int index);
	public native void insertItem( QPixmap pixmap);
	public native void insertItem( QPixmap pixmap, String text, int index);
	public native void insertItem( QPixmap pixmap, String text);
	public native void removeItem( int index);
	public native int currentItem();
	public native void setCurrentItem( int index);
	public native String currentText();
	public native void setCurrentText( String arg1);
	public native String text( int index);
	public native QPixmap pixmap( int index);
	public native void changeItem( String text, int index);
	public native void changeItem( QPixmap pixmap, int index);
	public native void changeItem( QPixmap pixmap, String text, int index);
	public native boolean autoResize();
	public native void setAutoResize( boolean arg1);
	public native QSize sizeHint();
	public native void setPalette( QPalette arg1);
	public native void setFont( QFont arg1);
	public native void setEnabled( boolean arg1);
	public native void setSizeLimit( int arg1);
	public native int sizeLimit();
	public native void setMaxCount( int arg1);
	public native int maxCount();
	public native void setInsertionPolicy( int policy);
	public native int insertionPolicy();
	public native void setValidator( QValidator arg1);
	public native QValidator validator();
	public native void setListBox( QListBox arg1);
	public native QListBox listBox();
	public native void setLineEdit( QLineEdit edit);
	public native QLineEdit lineEdit();
	public native void setAutoCompletion( boolean arg1);
	public native boolean autoCompletion();
	public native boolean eventFilter( QObject object, QEvent event);
	public native void setDuplicatesEnabled( boolean enable);
	public native boolean duplicatesEnabled();
	public native boolean editable();
	public native void setEditable( boolean arg1);
	public native void popup();
	public native void clear();
	public native void clearValidator();
	public native void clearEdit();
	public native void setEditText( String arg1);
	protected native void styleChange( QStyle arg1);
	protected native void updateMask();
	public static final int NoInsertion = 0;
	public static final int AtTop = 1;
	public static final int AtCurrent = 2;
	public static final int AtBottom = 3;
	public static final int AfterCurrent = 4;
	public static final int BeforeCurrent = 5;
}
