summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/StatusBarExtension.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/StatusBarExtension.java')
-rw-r--r--kdejava/koala/org/kde/koala/StatusBarExtension.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdejava/koala/org/kde/koala/StatusBarExtension.java b/kdejava/koala/org/kde/koala/StatusBarExtension.java
index 01cfd9a2..9b1369f5 100644
--- a/kdejava/koala/org/kde/koala/StatusBarExtension.java
+++ b/kdejava/koala/org/kde/koala/StatusBarExtension.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.QObject;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QObject;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQObject;
/**
@@ -18,9 +18,9 @@ import org.kde.qt.QObject;
@short An extension for KParts that allows more sophisticated statusbar handling.
*/
-public class StatusBarExtension extends QObject {
+public class StatusBarExtension extends TQObject {
protected StatusBarExtension(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
public StatusBarExtension(ReadOnlyPart parent, String name) {
super((Class) null);
@@ -37,13 +37,13 @@ public class StatusBarExtension extends QObject {
If you use this method instead of using statusBar() directly,
this extension will take care of removing the items when the parts GUI
is deactivated and will re-add them when it is reactivated.
- The parameters are the same as QStatusBar.addWidget().
+ The parameters are the same as TQStatusBar.addWidget().
Note that you can't use KStatusBar methods (inserting text items by id)
but you can create a KStatusBarLabel with a dummy id instead, and use
it directly in order to get the same look and feel.
@param widget the widget to add
@param stretch the stretch factor. 0 for a minimum size.
- @param permanent passed to QStatusBar.addWidget as the "permanent" boolean.
+ @param permanent passed to TQStatusBar.addWidget as the "permanent" boolean.
Note that the item isn't really permanent though, it goes away when
the part is unactivated. This simply controls where temporary messages
hide the <code>widget</code>, and whether it's added to the left or to the right side.
@@ -51,12 +51,12 @@ public class StatusBarExtension extends QObject {
Give the application time to set the statusbar in the extension if necessary.
@short This adds a widget to the statusbar for this part.
*/
- public native void addStatusBarItem(QWidget widget, int stretch, boolean permanent);
+ public native void addStatusBarItem(TQWidget widget, int stretch, boolean permanent);
/**
Remove a <code>widget</code> from the statusbar for this part.
@short Remove a <code>widget</code> from the statusbar for this part.
*/
- public native void removeStatusBarItem(QWidget widget);
+ public native void removeStatusBarItem(TQWidget widget);
/**
@return the statusbar of the KMainWindow in which this part is currently embedded.
WARNING: this could return 0L
@@ -75,11 +75,11 @@ public class StatusBarExtension extends QObject {
public native void setStatusBar(KStatusBar status);
/** @internal @short @internal
*/
- public native boolean eventFilter(QObject watched, QEvent ev);
+ public native boolean eventFilter(TQObject watched, TQEvent ev);
/**
Queries <code>obj</code> for a child object which inherits from this
BrowserExtension class. Convenience method.
@short Queries <code>obj</code> for a child object which inherits from this BrowserExtension class.
*/
- public static native StatusBarExtension childObject(QObject arg1);
+ public static native StatusBarExtension childObject(TQObject arg1);
}