diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/MainWindow.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/MainWindow.java | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kdejava/koala/org/kde/koala/MainWindow.java b/kdejava/koala/org/kde/koala/MainWindow.java index 54aa1a05..425acb20 100644 --- a/kdejava/koala/org/kde/koala/MainWindow.java +++ b/kdejava/koala/org/kde/koala/MainWindow.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -20,27 +20,27 @@ import org.kde.qt.QWidget; */ public class MainWindow extends KMainWindow implements PartBaseInterface { protected MainWindow(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor, same signature as KMainWindow. @short Constructor, same signature as KMainWindow. */ - public MainWindow(QWidget parent, String name, int f) { + public MainWindow(TQWidget 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) { + private native void newMainWindow(TQWidget parent, String name, int f); + public MainWindow(TQWidget parent, String name) { super((Class) null); newMainWindow(parent,name); } - private native void newMainWindow(QWidget parent, String name); - public MainWindow(QWidget parent) { + private native void newMainWindow(TQWidget parent, String name); + public MainWindow(TQWidget parent) { super((Class) null); newMainWindow(parent); } - private native void newMainWindow(QWidget parent); + private native void newMainWindow(TQWidget parent); /** Compatibility Constructor @short Compatibility Constructor @@ -64,21 +64,21 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { Constructor with creation flags, see KMainWindow. @short Constructor with creation flags, see KMainWindow. */ - public MainWindow(int cflags, QWidget parent, String name, int f) { + public MainWindow(int cflags, TQWidget 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) { + private native void newMainWindow(int cflags, TQWidget parent, String name, int f); + public MainWindow(int cflags, TQWidget 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) { + private native void newMainWindow(int cflags, TQWidget parent, String name); + public MainWindow(int cflags, TQWidget parent) { super((Class) null); newMainWindow(cflags,parent); } - private native void newMainWindow(int cflags, QWidget parent); + private native void newMainWindow(int cflags, TQWidget parent); protected native void createShellGUI(boolean create); protected native void createShellGUI(); /** @@ -131,8 +131,8 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { 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(); + public native void setPartObject(TQObject object); + public native TQObject partObject(); /** Set the instance ( KInstance) for this part. Call this first in the inherited class constructor, @@ -155,8 +155,8 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -167,7 +167,7 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { </pre> @short Load the Plugins honoring the PluginLoadingMode. */ - protected native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** For a KParts.Part: call this before setInstance(). For a KParts.MainWindow: call this before createGUI(). |