//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.QVariant;

/**

 KShortcutList implementation to access KAccel and
 KGlobalAccel lists.
 		@short    KShortcutList implementation to access KAccel and  KGlobalAccel lists.

*/
public class KAccelShortcutList extends KShortcutList  {
	protected KAccelShortcutList(Class dummy){super((Class) null);}
	/**	
		 Creates a new KShortcutList that accesses the given KAccel.
			@param accel the accelerators to access
			 		@short    Creates a new KShortcutList that accesses the given KAccel.
	*/
	public KAccelShortcutList(KAccel accel) {
		super((Class) null);
		newKAccelShortcutList(accel);
	}
	private native void newKAccelShortcutList(KAccel accel);
	/**	
		 Creates a new KShortcutList that accesses the given
		 KGlobalAccel.
			@param accel the accelerators to access
			 		@short    Creates a new KShortcutList that accesses the given  KGlobalAccel.
	*/
	public KAccelShortcutList(KGlobalAccel accel) {
		super((Class) null);
		newKAccelShortcutList(accel);
	}
	private native void newKAccelShortcutList(KGlobalAccel accel);
	/**	
			 Creates a new KShortcutList that accesses the given
		 KAccelActions collection.
			@param accel the actions to access
			@param bGlobal true to save the actions in the global
		        configuration file
			 		@short
	*/
	public KAccelShortcutList(KAccelActions actions, boolean bGlobal) {
		super((Class) null);
		newKAccelShortcutList(actions,bGlobal);
	}
	private native void newKAccelShortcutList(KAccelActions actions, boolean bGlobal);
	public native int count();
	public native String name(int index);
	public native String label(int index);
	public native String whatsThis(int index);
	public native KShortcut shortcut(int index);
	public native KShortcut shortcutDefault(int index);
	public native boolean isConfigurable(int index);
	public native boolean setShortcut(int index, KShortcut shortcut);
	public native boolean isGlobal(int index);
	/**	 \internal 		@short   \internal
	*/
	public native QVariant getOther(int arg1, int index);
	/**	 \internal 		@short   \internal
	*/
	public native boolean setOther(int arg1, int index, QVariant arg3);
	public native boolean save();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
