org.kde.koala

Class KCMultiDialog

public class KCMultiDialog extends KDialogBase

See KCMultiDialogSignals for signals emitted by KCMultiDialog

Author: Matthias Elter , Daniel Molkentin

UNKNOWN: A method that offers a KDialogBase containing arbitrary KControl Modules.

Constructor Summary
protected KCMultiDialog(Class dummy)
KCMultiDialog(QWidget parent, String name, boolean modal)
Constructs a new KCMultiDialog
KCMultiDialog(QWidget parent, String name)
KCMultiDialog(QWidget parent)
KCMultiDialog()
KCMultiDialog(int dialogFace, String caption, QWidget parent, String name, boolean modal)
Construct a personalized KCMultiDialog.
KCMultiDialog(int dialogFace, String caption, QWidget parent, String name)
KCMultiDialog(int dialogFace, String caption, QWidget parent)
KCMultiDialog(int dialogFace, String caption)
Method Summary
voidaddModule(String module, boolean withfallback)
Add a module.
voidaddModule(String module)
voidaddModule(KCModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback)
Add a module.
voidaddModule(KCModuleInfo moduleinfo, String[] parentmodulenames)
voidaddModule(KCModuleInfo moduleinfo)
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
voidremoveAllModules()
Remove all modules from the dialog.
voidshow()
Re-implemented for internal reasons.
protected voidslotApply()
This slot is called when the user presses the "Apply" Button.
protected voidslotDefault()
This slot is called when the user presses the "Default" Button.
protected voidslotHelp()
This slot is called when the user presses the "Help" Button.
protected voidslotOk()
This slot is called when the user presses the "OK" Button.
protected voidslotUser1()
This slot is called when the user presses the "Reset" Button.

Constructor Detail

KCMultiDialog

protected KCMultiDialog(Class dummy)

KCMultiDialog

public KCMultiDialog(QWidget parent, String name, boolean modal)
Constructs a new KCMultiDialog

Parameters: parent The parent widget name The widget name modal If you pass true here, the dialog will be modal

UNKNOWN: Constructs a new KCMultiDialog

KCMultiDialog

public KCMultiDialog(QWidget parent, String name)

KCMultiDialog

public KCMultiDialog(QWidget parent)

KCMultiDialog

public KCMultiDialog()

KCMultiDialog

public KCMultiDialog(int dialogFace, String caption, QWidget parent, String name, boolean modal)
Construct a personalized KCMultiDialog.

Parameters: dialogFace You can use TreeList, Tabbed, Plain, Swallow or IconList. caption The dialog caption. Do not specify the application name here. The class will take care of that. parent Parent of the dialog. name Dialog name (for internal use only). modal Controls dialog modality. If false, the rest of the program interface (example: other dialogs) is accessible while the dialog is open.

UNKNOWN: Construct a personalized KCMultiDialog.

KCMultiDialog

public KCMultiDialog(int dialogFace, String caption, QWidget parent, String name)

KCMultiDialog

public KCMultiDialog(int dialogFace, String caption, QWidget parent)

KCMultiDialog

public KCMultiDialog(int dialogFace, String caption)

Method Detail

addModule

public void addModule(String module, boolean withfallback)
Add a module.

Parameters: module Specify the name of the module that is to be added to the list of modules the dialog will show. withfallback Try harder to load the module. Might result in the module appearing outside the dialog.

UNKNOWN: Add a module.

addModule

public void addModule(String module)

addModule

public void addModule(KCModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback)
Add a module.

Parameters: moduleinfo Pass a KCModuleInfo object which will be used for creating the module. It will be added to the list of modules the dialog will show. 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. withfallback Try harder to load the module. Might result in the module appearing outside the dialog.

UNKNOWN: Add a module.

addModule

public void addModule(KCModuleInfo moduleinfo, String[] parentmodulenames)

addModule

public void addModule(KCModuleInfo moduleinfo)

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

removeAllModules

public void removeAllModules()
Remove all modules from the dialog.

UNKNOWN: Remove all modules from the dialog.

show

public void show()
Re-implemented for internal reasons.

UNKNOWN:

slotApply

protected void slotApply()
This slot is called when the user presses the "Apply" Button. You can reimplement it if needed.

UNKNOWN: Make sure you call the original implementation. This slot is called when the user presses the "Apply" Button.

slotDefault

protected void slotDefault()
This slot is called when the user presses the "Default" Button. You can reimplement it if needed.

UNKNOWN: Make sure you call the original implementation. This slot is called when the user presses the "Default" Button.

slotHelp

protected void slotHelp()
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.

UNKNOWN: Make sure you call the original implementation. This slot is called when the user presses the "Help" Button.

slotOk

protected void slotOk()
This slot is called when the user presses the "OK" Button. You can reimplement it if needed.

UNKNOWN: Make sure you call the original implementation. This slot is called when the user presses the "OK" Button.

slotUser1

protected void slotUser1()
This slot is called when the user presses the "Reset" Button. You can reimplement it if needed.

UNKNOWN: Make sure you call the original implementation. This slot is called when the user presses the "Reset" Button.