/***************************************************************************
                            KListAction.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**
 See {@link KListActionSignals} for signals emitted by KListAction.

 See {@link KListActionEventHandling} for event handlers to override in subclasses of KListAction.

*/
public class KListAction extends KSelectAction  {
	protected KListAction(Class dummy){super((Class) null);}

	private native void newKListAction( String text, KShortcut cut, QObject parent, String name);

/** 
 Constructs a list action with text and potential keyboard
 accelerator but nothing else. Use this only if you really
 know what you are doing.

*/
	public KListAction( String text, KShortcut cut, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, cut, parent, name);
	}
	private native void newKListAction( String text);
	public KListAction( String text) {
		super((Class) null);
		newKListAction( text);
	}
	private native void newKListAction( String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name);

/** 

*/
	public KListAction( String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, cut, receiver, slot, parent, name);
	}
	private native void newKListAction( String text, KShortcut cut, QObject receiver, String slot, QObject parent);
	public KListAction( String text, KShortcut cut, QObject receiver, String slot, QObject parent) {
		super((Class) null);
		newKListAction( text, cut, receiver, slot, parent);
	}
	private native void newKListAction( String text, QIconSet pix, KShortcut cut, QObject parent, String name);

/** 

*/
	public KListAction( String text, QIconSet pix, KShortcut cut, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, pix, cut, parent, name);
	}
	private native void newKListAction( String text, QIconSet pix);
	public KListAction( String text, QIconSet pix) {
		super((Class) null);
		newKListAction( text, pix);
	}
	private native void newKListAction( String text, String pix, KShortcut cut, QObject parent, String name);

/** 

*/
	public KListAction( String text, String pix, KShortcut cut, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, pix, cut, parent, name);
	}
	private native void newKListAction( String text, String pix);
	public KListAction( String text, String pix) {
		super((Class) null);
		newKListAction( text, pix);
	}
	private native void newKListAction( String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name);

/** 

*/
	public KListAction( String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, pix, cut, receiver, slot, parent, name);
	}
	private native void newKListAction( String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent);
	public KListAction( String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) {
		super((Class) null);
		newKListAction( text, pix, cut, receiver, slot, parent);
	}
	private native void newKListAction( String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name);

/** 

*/
	public KListAction( String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) {
		super((Class) null);
		newKListAction( text, pix, cut, receiver, slot, parent, name);
	}
	private native void newKListAction( String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent);
	public KListAction( String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) {
		super((Class) null);
		newKListAction( text, pix, cut, receiver, slot, parent);
	}
	private native void newKListAction( QObject parent, String name);

/** 

*/
	public KListAction( QObject parent, String name) {
		super((Class) null);
		newKListAction( parent, name);
	}
	private native void newKListAction();
	public KListAction() {
		super((Class) null);
		newKListAction();
	}

/** 
 Destructor
     
*/
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native String currentText();
	public native int currentItem();

/** 
  Sets the currently checked item.

*/
	public native void setCurrentItem( int index);
	public native void setCurrentItem( int a, int b);
}
