diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KWindowInfo.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KWindowInfo.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdejava/koala/org/kde/koala/KWindowInfo.java b/kdejava/koala/org/kde/koala/KWindowInfo.java index a71d29f6..575462e3 100644 --- a/kdejava/koala/org/kde/koala/KWindowInfo.java +++ b/kdejava/koala/org/kde/koala/KWindowInfo.java @@ -2,11 +2,11 @@ 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.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -22,7 +22,7 @@ import org.kde.qt.QObject; default timeout to ensure the message is only displayed for 1 second. <pre> - QPixmap px; + TQPixmap px; px.load( "lo16-app-logtracker.png" ); KWindowInfo.showMessage( this, "Message Body", px, 1000 ); </pre> @@ -33,24 +33,24 @@ import org.kde.qt.QObject; @short Displays messages in the window icon and title. */ -public class KWindowInfo extends QObject { +public class KWindowInfo extends TQObject { protected KWindowInfo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a KWindowInfo with the specified parent. @short Creates a KWindowInfo with the specified parent. */ - public KWindowInfo(QWidget parent, String name) { + public KWindowInfo(TQWidget parent, String name) { super((Class) null); newKWindowInfo(parent,name); } - private native void newKWindowInfo(QWidget parent, String name); - public KWindowInfo(QWidget parent) { + private native void newKWindowInfo(TQWidget parent, String name); + public KWindowInfo(TQWidget parent) { super((Class) null); newKWindowInfo(parent); } - private native void newKWindowInfo(QWidget parent); + private native void newKWindowInfo(TQWidget parent); /** Returns true iff the object should delete itself when it resets. @short Returns true iff the object should delete itself when it resets. @@ -71,7 +71,7 @@ public class KWindowInfo extends QObject { Shows the specified text in the window title, and sets the window icon. @short Shows the specified text in the window title, and sets the window icon. */ - public native void message(String text, QPixmap pix); + public native void message(String text, TQPixmap pix); /** Shows the specified text in the window title for the specified time. @short Shows the specified text in the window title for the specified time. @@ -85,7 +85,7 @@ public class KWindowInfo extends QObject { and 0 which means the message is permanent. @short Shows the specified icon and text in the window title and WM icon, for the specified time. */ - public native void message(String text, QPixmap pix, int timeout); + public native void message(String text, TQPixmap pix, int timeout); /** Shows the specified text in the window title with no timeout. @short Shows the specified text in the window title with no timeout. @@ -95,26 +95,26 @@ public class KWindowInfo extends QObject { Shows the specified text and icon in the window title with no timeout. @short Shows the specified text and icon in the window title with no timeout. */ - public native void permanent(String text, QPixmap pix); + public native void permanent(String text, TQPixmap pix); /** Utility method to display a title bar message for the specified window. @short Utility method to display a title bar message for the specified window. */ - public static native void showMessage(QWidget window, String text, int timeout); - public static native void showMessage(QWidget window, String text); + public static native void showMessage(TQWidget window, String text, int timeout); + public static native void showMessage(TQWidget window, String text); /** Utility method to display a title bar message and icon for the specified window. @short Utility method to display a title bar message and icon for the specified window. */ - public static native void showMessage(QWidget window, String text, QPixmap pix, int timeout); - public static native void showMessage(QWidget window, String text, QPixmap pix); + public static native void showMessage(TQWidget window, String text, TQPixmap pix, int timeout); + public static native void showMessage(TQWidget window, String text, TQPixmap pix); /** Displays the message in the titlebar/icon. @short Displays the message in the titlebar/icon. */ - protected native void display(String text, QPixmap pix); + protected native void display(String text, TQPixmap pix); /** Saves the window title and icon. @short Saves the window title and icon. |