org.kde.koala
public class MainWindow extends KMainWindow implements PartBaseInterface
UNKNOWN: A KPart-aware main window, whose user interface is described in XML.
| Constructor Summary | |
|---|---|
| protected | MainWindow(Class dummy) |
| MainWindow(QWidget parent, String name, int f)
Constructor, same signature as KMainWindow. | |
| MainWindow(QWidget parent, String name) | |
| MainWindow(QWidget parent) | |
| MainWindow(String name, int f)
Compatibility Constructor | |
| MainWindow(String name) | |
| MainWindow() | |
| MainWindow(int cflags, QWidget parent, String name, int f)
Constructor with creation flags, see KMainWindow. | |
| MainWindow(int cflags, QWidget parent, String name) | |
| MainWindow(int cflags, QWidget parent) | |
| Method Summary | |
|---|---|
| String | className() |
| protected void | createGUI(Part part)
Create the GUI (by merging the host's and the active part's)
You _must_ call this in order to see any GUI being created.
|
| protected void | createShellGUI(boolean create) |
| protected void | createShellGUI() |
| protected void | loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance)
Load the Plugins honoring the PluginLoadingMode.
|
| QMetaObject | metaObject() |
| QObject | partObject() |
| protected void | saveNewToolbarConfig()
Rebuilds the GUI after KEditToolbar changed the toolbar layout. |
| protected void | setInstance(KInstanceInterface instance)
Set the instance ( KInstance) for this part.
|
| protected void | setInstance(KInstanceInterface instance, boolean loadPlugins)
Set the instance ( KInstance) for this part.
|
| void | setPartObject(QObject object)
Internal method. |
| protected void | slotSetStatusBarText(String arg1)
Called when the active part wants to change the statusbar message
Reimplement if your mainwindow has a complex statusbar
(with several items) |
UNKNOWN: Constructor, same signature as KMainWindow.
UNKNOWN: Compatibility Constructor
UNKNOWN: Constructor with creation flags, see KMainWindow.
Parameters: part The active part (set to null if no part).
UNKNOWN: Create the GUI (by merging the host's and the active part's) You _must_ call this in order to see any GUI being created.
if( factory() )
{
QPtrList plugins = KParts.Plugin.pluginObjects( this );
QPtrListIterator it( plugins );
KParts.Plugin plugin;
while( ( plugin = it.current() ) != 0 )
{
++it;
factory().addClient( plugin );
}
}
UNKNOWN: Load the Plugins honoring the PluginLoadingMode.
See Also: MainWindow KDE4: MainWindow MainWindow # (For MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow 's MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow MainWindow )#
UNKNOWN: Rebuilds the GUI after KEditToolbar changed the toolbar layout.
UNKNOWN: Set the instance ( KInstance) for this part.
UNKNOWN: Set the instance ( KInstance) for this part.
UNKNOWN: Internal method.
UNKNOWN: Called when the active part wants to change the statusbar message Reimplement if your mainwindow has a complex statusbar (with several items)