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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQWidget;

/**

 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 TDEToggleToolBarAction extends TDEToggleAction  {
	protected TDEToggleToolBarAction(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Create a TDEToggleToolbarAction 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 TDEToggleToolbarAction that manages the toolbar  named toolBarName.
	*/
	public TDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name) {
		super((Class) null);
		newTDEToggleToolBarAction(toolBarName,text,parent,name);
	}
	private native void newTDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name);
	public TDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name) {
		super((Class) null);
		newTDEToggleToolBarAction(toolBar,text,parent,name);
	}
	private native void newTDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name);
	public native int plug(TQWidget widget, int index);
	public native int plug(TQWidget widget);
	public native TDEToolBar 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();
}
