summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/MainWindow.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/MainWindow.java
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/MainWindow.java')
-rw-r--r--kdejava/koala/org/kde/koala/MainWindow.java177
1 files changed, 177 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/MainWindow.java b/kdejava/koala/org/kde/koala/MainWindow.java
new file mode 100644
index 00000000..54aa1a05
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/MainWindow.java
@@ -0,0 +1,177 @@
+//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.QObject;
+import org.kde.qt.QWidget;
+
+/**
+
+ A KPart-aware main window, whose user interface is described in XML.
+ Inherit your main window from this class
+ and don't forget to call setXMLFile() in the inherited constructor.
+ It implements all internal interfaces in the case of a
+ KMainWindow as host: the builder and servant interface (for menu
+ merging).
+ @short A KPart-aware main window, whose user interface is described in XML.
+
+*/
+public class MainWindow extends KMainWindow implements PartBaseInterface {
+ protected MainWindow(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ Constructor, same signature as KMainWindow.
+ @short Constructor, same signature as KMainWindow.
+ */
+ public MainWindow(QWidget parent, String name, int f) {
+ super((Class) null);
+ newMainWindow(parent,name,f);
+ }
+ private native void newMainWindow(QWidget parent, String name, int f);
+ public MainWindow(QWidget parent, String name) {
+ super((Class) null);
+ newMainWindow(parent,name);
+ }
+ private native void newMainWindow(QWidget parent, String name);
+ public MainWindow(QWidget parent) {
+ super((Class) null);
+ newMainWindow(parent);
+ }
+ private native void newMainWindow(QWidget parent);
+ /**
+ Compatibility Constructor
+ @short Compatibility Constructor
+ */
+ public MainWindow(String name, int f) {
+ super((Class) null);
+ newMainWindow(name,f);
+ }
+ private native void newMainWindow(String name, int f);
+ public MainWindow(String name) {
+ super((Class) null);
+ newMainWindow(name);
+ }
+ private native void newMainWindow(String name);
+ public MainWindow() {
+ super((Class) null);
+ newMainWindow();
+ }
+ private native void newMainWindow();
+ /**
+ Constructor with creation flags, see KMainWindow.
+ @short Constructor with creation flags, see KMainWindow.
+ */
+ public MainWindow(int cflags, QWidget parent, String name, int f) {
+ super((Class) null);
+ newMainWindow(cflags,parent,name,f);
+ }
+ private native void newMainWindow(int cflags, QWidget parent, String name, int f);
+ public MainWindow(int cflags, QWidget parent, String name) {
+ super((Class) null);
+ newMainWindow(cflags,parent,name);
+ }
+ private native void newMainWindow(int cflags, QWidget parent, String name);
+ public MainWindow(int cflags, QWidget parent) {
+ super((Class) null);
+ newMainWindow(cflags,parent);
+ }
+ private native void newMainWindow(int cflags, QWidget parent);
+ protected native void createShellGUI(boolean create);
+ protected native void createShellGUI();
+ /**
+ 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.
+ In a main window with multiple parts being shown (e.g. as in Konqueror)
+ you need to connect this slot to the
+ KPartManager.activePartChanged() signal
+ @param part The active part (set to null if no part).
+ @short 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 native void createGUI(Part part);
+ /**
+ Called when the active part wants to change the statusbar message
+ Reimplement if your mainwindow has a complex statusbar
+ (with several items)
+ @short Called when the active part wants to change the statusbar message Reimplement if your mainwindow has a complex statusbar (with several items)
+ */
+ protected native void slotSetStatusBarText(String arg1);
+ /**
+ Rebuilds the GUI after KEditToolbar changed the toolbar layout.
+ @short Rebuilds the GUI after KEditToolbar changed the toolbar layout.
+ @see #configureToolbars
+ @see KDE4:
+ @see #make
+ @see #this
+ @see #virtual#
+ @see (For
+ @see #now
+ @see #we
+ @see #rely
+ @see #on
+ @see #the
+ @see #fact
+ @see #that
+ @see #it's
+ @see #called
+ @see #as
+ @see #a
+ @see #slot
+ @see #so
+ @see #the
+ @see #metaobject
+ @see #finds
+ @see #it
+ @see #here)#
+ */
+ protected native void saveNewToolbarConfig();
+ /**
+ Internal method. Called by KParts.Part to specify the parent object for plugin objects.
+ @short Internal method.
+ */
+ public native void setPartObject(QObject object);
+ public native QObject partObject();
+ /**
+ Set the instance ( KInstance) for this part.
+ Call this first in the inherited class constructor,
+ because it loads the i18n catalogues.
+ @short Set the instance ( KInstance) for this part.
+ */
+ protected native void setInstance(KInstanceInterface instance);
+ /**
+ Set the instance ( KInstance) for this part.
+ Call this first in the inherited class constructor,
+ because it loads the i18n catalogues.
+ @short Set the instance ( KInstance) for this part.
+ */
+ protected native void setInstance(KInstanceInterface 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() )
+ {
+ QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this );
+ QPtrListIterator<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(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface 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
+}