diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/TDEPopupFrame.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/TDEPopupFrame.java | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/TDEPopupFrame.java b/kdejava/koala/org/kde/koala/TDEPopupFrame.java new file mode 100644 index 00000000..9d80bbd9 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEPopupFrame.java @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQPoint; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQFrame; + +/** + + Frame with popup menu behavior. + @author Tim Gilman, Mirko Boehm + + @version $Id$ + + @short Frame with popup menu behavior. + +*/ +public class TDEPopupFrame extends TQFrame { + protected TDEPopupFrame(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + The contructor. Creates a dialog without buttons. + @short The contructor. + */ + public TDEPopupFrame(TQWidget parent, String name) { + super((Class) null); + newTDEPopupFrame(parent,name); + } + private native void newTDEPopupFrame(TQWidget parent, String name); + public TDEPopupFrame(TQWidget parent) { + super((Class) null); + newTDEPopupFrame(parent); + } + private native void newTDEPopupFrame(TQWidget parent); + public TDEPopupFrame() { + super((Class) null); + newTDEPopupFrame(); + } + private native void newTDEPopupFrame(); + /** + Set the main widget. You cannot set the main widget from the constructor, + since it must be a child of the frame itselfes. + Be careful: the size is set to the main widgets size. It is up to you to + set the main widgets correct size before setting it as the main + widget. + @short Set the main widget. + */ + public native void setMainWidget(TQWidget m); + /** + The resize event. Simply resizes the main widget to the whole + widgets client size. + @short The resize event. + */ + public native void resizeEvent(TQResizeEvent arg1); + /** + Open the popup window at position pos. + @short Open the popup window at position pos. + */ + public native void popup(TQPoint pos); + /** + Execute the popup window. + @short Execute the popup window. + */ + public native int exec(TQPoint p); + /** + Execute the popup window. + @short Execute the popup window. + */ + public native int exec(int x, int y); + /** + Close the popup window. This is called from the main widget, usually. + <code>r</code> is the result returned from exec(). + @short Close the popup window. + */ + public native void close(int r); + /** + Hides the widget. Reimplemented from TQWidget + @short Hides the widget. + */ + public native void hide(); + /** + Catch key press events. + @short Catch key press events. + */ + protected native void keyPressEvent(TQKeyEvent e); + /** 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(); +} |