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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QWidget;

/**

 An action that takes care of everything associated with
 showing or hiding a toolbar by a menu action. It will
 show or hide the toolbar with the given name when
 activated, and check or uncheck itself if the toolbar
 is manually shown or hidden.
 If you need to perfom some additional action when the
 toolbar is shown or hidden, connect to the toggled(boolean)
 signal. It will be emitted after the toolbar's
 visibility has changed, whenever it changes.
		@short    An action that takes care of everything associated with  showing or hiding a toolbar by a menu action.

*/
public class KToggleToolBarAction extends KToggleAction  {
	protected KToggleToolBarAction(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Create a KToggleToolbarAction that manages the toolbar
		 named toolBarName. This can be either the name of a
		 toolbar in an xml ui file, or a toolbar programmatically
		 created with that name.
		     		@short    Create a KToggleToolbarAction that manages the toolbar  named toolBarName.
	*/
	public KToggleToolBarAction(String toolBarName, String text, KActionCollection parent, String name) {
		super((Class) null);
		newKToggleToolBarAction(toolBarName,text,parent,name);
	}
	private native void newKToggleToolBarAction(String toolBarName, String text, KActionCollection parent, String name);
	public KToggleToolBarAction(KToolBar toolBar, String text, KActionCollection parent, String name) {
		super((Class) null);
		newKToggleToolBarAction(toolBar,text,parent,name);
	}
	private native void newKToggleToolBarAction(KToolBar toolBar, String text, KActionCollection parent, String name);
	public native int plug(QWidget widget, int index);
	public native int plug(QWidget widget);
	public native KToolBar toolBar();
	public native void setChecked(boolean arg1);
	/** 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();
}
