diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java b/tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java new file mode 100644 index 00000000..dcafdacf --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQWidget; + +/** + + See {@link KCMultiDialogSignals} for signals emitted by KCMultiDialog + @author Matthias Elter <elter@kde.org>, Daniel Molkentin <molkentin@kde.org> + + @short A method that offers a KDialogBase containing arbitrary KControl Modules. + +*/ +public class KCMultiDialog extends KDialogBase { + protected KCMultiDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a new KCMultiDialog + @param parent The parent widget + @param name The widget name + @param modal If you pass true here, the dialog will be modal + @short Constructs a new KCMultiDialog + */ + public KCMultiDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newKCMultiDialog(parent,name,modal); + } + private native void newKCMultiDialog(TQWidget parent, String name, boolean modal); + public KCMultiDialog(TQWidget parent, String name) { + super((Class) null); + newKCMultiDialog(parent,name); + } + private native void newKCMultiDialog(TQWidget parent, String name); + public KCMultiDialog(TQWidget parent) { + super((Class) null); + newKCMultiDialog(parent); + } + private native void newKCMultiDialog(TQWidget parent); + public KCMultiDialog() { + super((Class) null); + newKCMultiDialog(); + } + private native void newKCMultiDialog(); + /** + Construct a personalized KCMultiDialog. + @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or + IconList. + @param caption The dialog caption. Do not specify the application name + here. The class will take care of that. + @param parent Parent of the dialog. + @param name Dialog name (for internal use only). + @param modal Controls dialog modality. If <code>false</code>, the rest of the + program interface (example: other dialogs) is accessible while + the dialog is open. + @short Construct a personalized KCMultiDialog. + */ + public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal) { + super((Class) null); + newKCMultiDialog(dialogFace,caption,parent,name,modal); + } + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal); + public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name) { + super((Class) null); + newKCMultiDialog(dialogFace,caption,parent,name); + } + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name); + public KCMultiDialog(int dialogFace, String caption, TQWidget parent) { + super((Class) null); + newKCMultiDialog(dialogFace,caption,parent); + } + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent); + public KCMultiDialog(int dialogFace, String caption) { + super((Class) null); + newKCMultiDialog(dialogFace,caption); + } + private native void newKCMultiDialog(int dialogFace, String caption); + /** + Add a module. + @param module Specify the name of the module that is to be added + to the list of modules the dialog will show. + @param withfallback Try harder to load the module. Might result + in the module appearing outside the dialog. + @short Add a module. + */ + public native void addModule(String module, boolean withfallback); + public native void addModule(String module); + /** + Add a module. + @param moduleinfo Pass a TDECModuleInfo object which will be + used for creating the module. It will be added + to the list of modules the dialog will show. + @param parentmodulenames The names of the modules that should appear as + parents in the TreeList. Look at the + KDialogBase.addPage documentation for more info + on this. + @param withfallback Try harder to load the module. Might result + in the module appearing outside the dialog. + @short Add a module. + */ + public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback); + public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames); + public native void addModule(TDECModuleInfo moduleinfo); + /** + Remove all modules from the dialog. + @short Remove all modules from the dialog. + */ + public native void removeAllModules(); + /** + Re-implemented for internal reasons. + @short + */ + public native void show(); + /** + This slot is called when the user presses the "Default" Button. + You can reimplement it if needed. + @note Make sure you call the original implementation. + @short This slot is called when the user presses the "Default" Button. + */ + protected native void slotDefault(); + /** + This slot is called when the user presses the "Reset" Button. + You can reimplement it if needed. + @note Make sure you call the original implementation. + @short This slot is called when the user presses the "Reset" Button. + */ + protected native void slotUser1(); + /** + This slot is called when the user presses the "Apply" Button. + You can reimplement it if needed. + @note Make sure you call the original implementation. + @short This slot is called when the user presses the "Apply" Button. + */ + protected native void slotApply(); + /** + This slot is called when the user presses the "OK" Button. + You can reimplement it if needed. + @note Make sure you call the original implementation. + @short This slot is called when the user presses the "OK" Button. + */ + protected native void slotOk(); + /** + This slot is called when the user presses the "Help" Button. + It reads the DocPath field of the currently selected KControl + module's .desktop file to find the path to the documentation, + which it then attempts to load. + You can reimplement this slot if needed. + @note Make sure you call the original implementation. + @short This slot is called when the user presses the "Help" Button. + */ + protected native void slotHelp(); + /** 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(); +} |