summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/PartBase.java
blob: d71bf12925ce8ab120c6b609223670274241c530 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;

/**

  Base class for all parts.
		@short Base class for all parts.

*/
public class PartBase extends KXMLGUIClient  {
	protected PartBase(Class dummy){super((Class) null);}
	/**	
		  Constructor.
		   		@short     Constructor.
	*/
	public PartBase() {
		super((Class) null);
		newPartBase();
	}
	private native void newPartBase();
	/**	
		  Internal method. Called by KParts.Part to specify the parent object for plugin objects.
			   		@short     Internal method.
	*/
	public native void setPartObject(TQObject object);
	public native TQObject partObject();
	/**	
		 Set the instance ( TDEInstance) for this part.
			 Call this first in the inherited class constructor,
		 because it loads the i18n catalogues.
		   		@short    Set the instance ( TDEInstance) for this part.
	*/
	protected native void setInstance(TDEInstanceInterface instance);
	/**	
		 Set the instance ( TDEInstance) for this part.
			 Call this first in the inherited class constructor,
		 because it loads the i18n catalogues.
		   		@short    Set the instance ( TDEInstance) for this part.
	*/
	protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins);
	/**	
		 Load the Plugins honoring the PluginLoadingMode.
			 If you call this method in an already constructed GUI (like when the user
		 has changed which plugins are enabled) you need to add the new plugins to
		 the KXMLGUIFactory:
		 <pre>
		 if( factory() )
		 {
		   TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this );
		   TQPtrListIterator<KParts.Plugin> it( plugins );
		   KParts.Plugin  plugin;
		   while( ( plugin = it.current() ) != 0 )
		   {
		     ++it;
		     factory().addClient(  plugin );
		   }
		 }
		 </pre>
		   		@short    Load the Plugins honoring the PluginLoadingMode.
	*/
	protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance);
	/**	
		 For a KParts.Part: call this before setInstance().
		 For a KParts.MainWindow: call this before createGUI().
		   		@short    For a KParts.Part: call this before setInstance().
	*/
	// void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED
}