summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSystemTray.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSystemTray.java')
-rw-r--r--kdejava/koala/org/kde/koala/KSystemTray.java40
1 files changed, 20 insertions, 20 deletions
diff --git a/kdejava/koala/org/kde/koala/KSystemTray.java b/kdejava/koala/org/kde/koala/KSystemTray.java
index 23801b45..1b46e082 100644
--- a/kdejava/koala/org/kde/koala/KSystemTray.java
+++ b/kdejava/koala/org/kde/koala/KSystemTray.java
@@ -2,14 +2,14 @@
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.QPixmap;
-import org.kde.qt.QMouseEvent;
-import org.kde.qt.QShowEvent;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QLabel;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQMouseEvent;
+import org.kde.qt.TQShowEvent;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQLabel;
/**
@@ -44,9 +44,9 @@ import org.kde.qt.QLabel;
@short \brief %KDE System Tray Window class
*/
-public class KSystemTray extends QLabel {
+public class KSystemTray extends TQLabel {
protected KSystemTray(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Construct a KSystemTray widget just like any other widget.
@@ -60,16 +60,16 @@ public class KSystemTray extends QLabel {
button.
@short Construct a KSystemTray widget just like any other widget.
*/
- public KSystemTray(QWidget parent, String name) {
+ public KSystemTray(TQWidget parent, String name) {
super((Class) null);
newKSystemTray(parent,name);
}
- private native void newKSystemTray(QWidget parent, String name);
- public KSystemTray(QWidget parent) {
+ private native void newKSystemTray(TQWidget parent, String name);
+ public KSystemTray(TQWidget parent) {
super((Class) null);
newKSystemTray(parent);
}
- private native void newKSystemTray(QWidget parent);
+ private native void newKSystemTray(TQWidget parent);
public KSystemTray() {
super((Class) null);
newKSystemTray();
@@ -91,7 +91,7 @@ public class KSystemTray extends QLabel {
Changes the tray's icon.
@short Changes the tray's icon.
*/
- public native void setPixmap(QPixmap icon);
+ public native void setPixmap(TQPixmap icon);
/**
Changes the tray's text description (which can be seen e.g. in the systray
configuration dialog). The default value is KAboutData.programName().
@@ -123,22 +123,22 @@ public class KSystemTray extends QLabel {
It's commonly used in the form : systray.setPixmap( systray.loadIcon( "mysystray" ) );
@short Loads an icon <code>icon</code> using the icon loader class of the given instance <code>instance.</code>
*/
- public static native QPixmap loadIcon(String icon, KInstanceInterface instance);
- public static native QPixmap loadIcon(String icon);
+ public static native TQPixmap loadIcon(String icon, KInstanceInterface instance);
+ public static native TQPixmap loadIcon(String icon);
/**
Reimplemented to provide the standard show/raise behavior
for the parentWidget() and the context menu.
Feel free to reimplement this if you need something special.
@short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu.
*/
- protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mousePressEvent(TQMouseEvent arg1);
/**
Reimplemented to provide the standard show/raise behavior
for the parentWidget() and the context menu.
Feel free to reimplement this if you need something special.
@short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu.
*/
- protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(TQMouseEvent arg1);
/**
Makes it easy to adjust some menu items right before the
context menu becomes visible.
@@ -149,12 +149,12 @@ public class KSystemTray extends QLabel {
Reimplemented for internal reasons.
@short Reimplemented for internal reasons.
*/
- public native void showEvent(QShowEvent arg1);
+ public native void showEvent(TQShowEvent arg1);
/**
Reimplemented for internal reasons.
@short Reimplemented for internal reasons.
*/
- protected native void enterEvent(QEvent arg1);
+ protected native void enterEvent(TQEvent arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */