You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
Java
32 lines
1.1 KiB
Java
//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.QEvent;
|
|
import org.kde.qt.QWidget;
|
|
|
|
/**
|
|
|
|
This event is sent by the part manager when the active part changes.
|
|
Each time the active part changes, it will send first a PartActivateEvent
|
|
with activated=false, part=oldActivePart, widget=oldActiveWidget
|
|
and then another PartActivateEvent
|
|
with activated=true, part=newPart, widget=newWidget.
|
|
@short This event is sent by the part manager when the active part changes.
|
|
@see Part#partActivateEvent
|
|
|
|
*/
|
|
public class PartActivateEvent extends Event {
|
|
protected PartActivateEvent(Class dummy){super((Class) null);}
|
|
public PartActivateEvent(boolean activated, Part part, QWidget widget) {
|
|
super((Class) null);
|
|
newPartActivateEvent(activated,part,widget);
|
|
}
|
|
private native void newPartActivateEvent(boolean activated, Part part, QWidget widget);
|
|
public native boolean activated();
|
|
public native Part part();
|
|
public native QWidget widget();
|
|
public static native boolean test(QEvent event);
|
|
}
|