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

import org.kde.qt.QMainWindow;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import org.kde.qt.QPopupMenu;
import org.kde.qt.QPixmap;
import org.kde.qt.QSize;
import org.kde.qt.QSizePolicy;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QShowEvent;
import org.kde.qt.QEvent;
import org.kde.qt.QIconSet;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QDomElement;
import org.kde.qt.QChildEvent;

public interface KToolBarSignals {
	/**	
		 Emitted when button <code>id</code> is clicked.
		     		@short    Emitted when button <code>id</code> is clicked.
	*/
	void clicked(int id);
	/**	
		 Emitted when button <code>id</code> is double-clicked.
			 Note: you will always
		 recive two clicked() , pressed() and released() signals.
		 There is no way to avoid it - at least no easy way.
		 If you need to resolve this all you can do is set up timers
		 which wait for QApplication.doubleClickInterval() to expire.
		 If in that time you don't get this signal, you may belive that
		 button was only clicked and not double-clicked.
		 And please note that butons with popup menus do not emit this signal,
		 but those with delayed popup do.
		     		@short    Emitted when button <code>id</code> is double-clicked.
	*/
	void doubleClicked(int id);
	/**	
		 Emitted when button <code>id</code> is pressed.
		     		@short    Emitted when button <code>id</code> is pressed.
	*/
	void pressed(int arg1);
	/**	
		 Emits when button <code>id</code> is released.
		     		@short    Emits when button <code>id</code> is released.
	*/
	void released(int arg1);
	/**	
		 Emitted when a toggle button changes state.
			 Emitted also if you change state
		 with setButton() or toggleButton()
		 If you make a button normal again, with
		 setToggle(false), this signal won't
		 be emitted.
		     		@short    Emitted when a toggle button changes state.
	*/
	void toggled(int arg1);
	/**	
		 This signal is emitted when item <code>id</code> gets highlighted/unhighlighted
		 (i.e when mouse enters/exits).
			 Note that this signal is emitted from
		 all buttons (normal, disabled and toggle) even when there is no visible
		 change in buttons (i.e., buttons do not raise when mouse enters).
		 The parameter <code>isHighlighted</code> is <code>true</code> when mouse enters and <code>false</code> when
		 mouse exits.
		     		@short    This signal is emitted when item <code>id</code> gets highlighted/unhighlighted  (i.
	*/
	void highlighted(int id, boolean isHighlighted);
	/**	
		 This signal is emitted when item <code>id</code> gets highlighted/unhighlighted
		 (i.e when mouse enters/exits).
			 Note that this signal is emitted from
		 all buttons (normal, disabled and toggle) even when there is no visible
		 change in buttons (i.e., buttons do not raise when mouse enters).
		     		@short    This signal is emitted when item <code>id</code> gets highlighted/unhighlighted  (i.
	*/
	void highlighted(int id);
	/**	
		 Emitted when toolbar changes position, or when
		 an item is removed from toolbar.
			 If you subclass KMainWindow and reimplement
		 KMainWindow.resizeEvent() be sure to connect to
		 this signal. Note: You can connect this signal to a slot that
		 doesn't take parameter.
		     		@short    Emitted when toolbar changes position, or when  an item is removed from toolbar.
	*/
	void moved(int arg1);
	/**	
		 This signal is emitted when toolbar detects changing of
		 following parameters:
		 highlighting, button-size, button-mode. This signal is
		 internal, aimed to buttons.
			     		@short    This signal is emitted when toolbar detects changing of  following parameters:  highlighting, button-size, button-mode.
	*/
	void modechange();
	/**	
		 This signal is emitted when the toolbar is getting deleted,
		 and before ~KToolbar finishes (so it's still time to remove
		 widgets from the toolbar).
		 Used by KWidgetAction.
				@short    This signal is emitted when the toolbar is getting deleted,  and before ~KToolbar finishes (so it's still time to remove  widgets from the toolbar).
	*/
	void toolbarDestroyed();
}
