summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDockMainWindow.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDockMainWindow.java')
-rw-r--r--kdejava/koala/org/kde/koala/KDockMainWindow.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/kdejava/koala/org/kde/koala/KDockMainWindow.java b/kdejava/koala/org/kde/koala/KDockMainWindow.java
index 0809f81c..a91401ff 100644
--- a/kdejava/koala/org/kde/koala/KDockMainWindow.java
+++ b/kdejava/koala/org/kde/koala/KDockMainWindow.java
@@ -2,12 +2,12 @@
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.QPopupMenu;
-import org.kde.qt.QPixmap;
-import org.kde.qt.QWidget;
-import org.kde.qt.QDomElement;
+import org.kde.qt.TQPopupMenu;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQDomElement;
/**
@@ -53,7 +53,7 @@ import org.kde.qt.QDomElement;
*/
public class KDockMainWindow extends KMainWindow {
protected KDockMainWindow(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a dockmainwindow. It calls its base class constructor and does additional things concerning
@@ -79,21 +79,21 @@ public class KDockMainWindow extends KMainWindow {
@param f Qt.WidgetFlags widget flags
@short Constructs a dockmainwindow.
*/
- public KDockMainWindow(QWidget parent, String name, int f) {
+ public KDockMainWindow(TQWidget parent, String name, int f) {
super((Class) null);
newKDockMainWindow(parent,name,f);
}
- private native void newKDockMainWindow(QWidget parent, String name, int f);
- public KDockMainWindow(QWidget parent, String name) {
+ private native void newKDockMainWindow(TQWidget parent, String name, int f);
+ public KDockMainWindow(TQWidget parent, String name) {
super((Class) null);
newKDockMainWindow(parent,name);
}
- private native void newKDockMainWindow(QWidget parent, String name);
- public KDockMainWindow(QWidget parent) {
+ private native void newKDockMainWindow(TQWidget parent, String name);
+ public KDockMainWindow(TQWidget parent) {
super((Class) null);
newKDockMainWindow(parent);
}
- private native void newKDockMainWindow(QWidget parent);
+ private native void newKDockMainWindow(TQWidget parent);
public KDockMainWindow() {
super((Class) null);
newKDockMainWindow();
@@ -124,7 +124,7 @@ public class KDockMainWindow extends KMainWindow {
This is one of the most important methods!
The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget.
The new dockwidget is automatically taken under control by the dockmanager of the dockmainwindow.
- @param name QObject name (default dockwidget caption)
+ @param name TQObject name (default dockwidget caption)
@param pixmap window icon (for instance shown when docked as tabwidget entry)
@param parent parent widget for the new dockwidget
@param strCaption window title (shown when toplevel)
@@ -133,20 +133,20 @@ public class KDockMainWindow extends KMainWindow {
@short This is one of the most important methods! The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget.
*/
- public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel);
- public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption);
- public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent);
- public native KDockWidget createDockWidget(String name, QPixmap pixmap);
+ public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel);
+ public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption);
+ public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent);
+ public native KDockWidget createDockWidget(String name, TQPixmap pixmap);
/**
Saves the current dock window layout into a DOM tree below the given element.
@short Saves the current dock window layout into a DOM tree below the given element.
*/
- public native void writeDockConfig(QDomElement base);
+ public native void writeDockConfig(TQDomElement base);
/**
Reads the current dock window layout from a DOM tree below the given element.
@short Reads the current dock window layout from a DOM tree below the given element.
*/
- public native void readDockConfig(QDomElement base);
+ public native void readDockConfig(TQDomElement base);
/**
It writes the current dock state in the given section of KConfig.
@param c KDE class for saving configurations
@@ -168,7 +168,7 @@ public class KDockMainWindow extends KMainWindow {
/**
It runs through all dockwidgets which are under control of the dockmanager and calls show() for every
encapsulated widget and show() for the dockwidget itself if it is not in tab mode.
- Additionally, if the main dockwidget is not a QDialog, it will be shown.
+ Additionally, if the main dockwidget is not a TQDialog, it will be shown.
@short It runs through all dockwidgets which are under control of the dockmanager and calls show() for every encapsulated widget and show() for the dockwidget itself if it is not in tab mode.
*/
public native void activateDock();
@@ -179,7 +179,7 @@ public class KDockMainWindow extends KMainWindow {
@short Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing them possible.
*/
- public native QPopupMenu dockHideShowMenu();
+ public native TQPopupMenu dockHideShowMenu();
/**
This method shows the given dockwidget.
The clue is that it also considers the dockwidget could be a tab page
@@ -199,14 +199,14 @@ public class KDockMainWindow extends KMainWindow {
It differs from the above function only in what argument(s) it accepts.
@short This is an overloaded member function, provided for convenience.
*/
- public native void makeWidgetDockVisible(QWidget widget);
+ public native void makeWidgetDockVisible(TQWidget widget);
/**
This method calls the base class method.
If the given widget inherits KDockWidget, applyToWidget(this) is called.
@param widget any widget that should become the main view
@short This method calls the base class method.
*/
- public native void setView(QWidget widget);
+ public native void setView(TQWidget widget);
/**
Called whenever one of the dockwidgets of this has been undocked.
@short Called whenever one of the dockwidgets of this has been undocked.