You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/TDEToolBarSignals.java

108 lines
4.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.TQMainWindow;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQPixmap;
import org.kde.qt.TQSize;
import org.kde.qt.TQSizePolicy;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQShowEvent;
import org.kde.qt.TQEvent;
import org.kde.qt.TQIconSet;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
import org.kde.qt.TQDomElement;
import org.kde.qt.TQChildEvent;
public interface TDEToolBarSignals {
/**
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 TQApplication.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 TDEMainWindow and reimplement
TDEMainWindow.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 ~TDEToolbar 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 ~TDEToolbar finishes (so it's still time to remove widgets from the toolbar).
*/
void toolbarDestroyed();
}