//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QWidget;

/**

 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 QMetaObject 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(QWidget parent, String name, boolean modal) {
		super((Class) null);
		newKCMultiDialog(parent,name,modal);
	}
	private native void newKCMultiDialog(QWidget parent, String name, boolean modal);
	public KCMultiDialog(QWidget parent, String name) {
		super((Class) null);
		newKCMultiDialog(parent,name);
	}
	private native void newKCMultiDialog(QWidget parent, String name);
	public KCMultiDialog(QWidget parent) {
		super((Class) null);
		newKCMultiDialog(parent);
	}
	private native void newKCMultiDialog(QWidget 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, QWidget parent, String name, boolean modal) {
		super((Class) null);
		newKCMultiDialog(dialogFace,caption,parent,name,modal);
	}
	private native void newKCMultiDialog(int dialogFace, String caption, QWidget parent, String name, boolean modal);
	public KCMultiDialog(int dialogFace, String caption, QWidget parent, String name) {
		super((Class) null);
		newKCMultiDialog(dialogFace,caption,parent,name);
	}
	private native void newKCMultiDialog(int dialogFace, String caption, QWidget parent, String name);
	public KCMultiDialog(int dialogFace, String caption, QWidget parent) {
		super((Class) null);
		newKCMultiDialog(dialogFace,caption,parent);
	}
	private native void newKCMultiDialog(int dialogFace, String caption, QWidget 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 KCModuleInfo 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(KCModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback);
	public native void addModule(KCModuleInfo moduleinfo, String[] parentmodulenames);
	public native void addModule(KCModuleInfo 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();
}
