summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java b/tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java
new file mode 100644
index 00000000..9e149598
--- /dev/null
+++ b/tdejava/koala/org/trinitydesktop/koala/PartActivateEvent.java
@@ -0,0 +1,31 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.koala;
+
+import org.trinitydesktop.qt.Qt;
+import org.trinitydesktop.qt.QtSupport;
+import org.trinitydesktop.qt.TQEvent;
+import org.trinitydesktop.qt.TQWidget;
+
+/**
+
+ 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, TQWidget widget) {
+ super((Class) null);
+ newPartActivateEvent(activated,part,widget);
+ }
+ private native void newPartActivateEvent(boolean activated, Part part, TQWidget widget);
+ public native boolean activated();
+ public native Part part();
+ public native TQWidget widget();
+ public static native boolean test(TQEvent event);
+}