summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KCMultiDialog.java
blob: dcafdacf98d6a82e5a4401c236d941b2ce99e64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
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();
}