summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KContextMenuManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KContextMenuManager.java')
-rw-r--r--kdejava/koala/org/kde/koala/KContextMenuManager.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdejava/koala/org/kde/koala/KContextMenuManager.java b/kdejava/koala/org/kde/koala/KContextMenuManager.java
index 08c073f1..42880108 100644
--- a/kdejava/koala/org/kde/koala/KContextMenuManager.java
+++ b/kdejava/koala/org/kde/koala/KContextMenuManager.java
@@ -2,17 +2,17 @@
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.QWidget;
-import org.kde.qt.QObject;
+import org.kde.qt.TQPopupMenu;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQObject;
/**
KContextMenuManager manages configurable context popup menus. Instead
-of reimplementing QWidget.mousePressEvent() or
- QWidget.mouseReleaseEvent() and/or QWidget.keyPressEvent(), simply
+of reimplementing TQWidget.mousePressEvent() or
+ TQWidget.mouseReleaseEvent() and/or TQWidget.keyPressEvent(), simply
create the popup menu and insert it into the context menu manager with
the static function insert().
Example:
@@ -39,15 +39,15 @@ The shortcut key to invoke the context menu is defined in the standard
</pre>
The key can be configured with the standard keys module in the KDE control center.
If the popup menu is invoked with the keyboard shortcut, it's shown at
-the position of the micro focus hint of the widget ( QWidget.microFocusHint() ).
+the position of the micro focus hint of the widget ( TQWidget.microFocusHint() ).
@author Matthias Ettrich <ettrich@kde.org>
@short Convenience class to mangage context menus.
*/
-public class KContextMenuManager extends QObject {
+public class KContextMenuManager extends TQObject {
protected KContextMenuManager(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Makes <code>popup</code> a context popup menu for widget <code>widget.</code>
@@ -55,7 +55,7 @@ public class KContextMenuManager extends QObject {
menu manager.
@short Makes <code>popup</code> a context popup menu for widget <code>widget.</code>
*/
- public static native void insert(QWidget widget, QPopupMenu popup);
+ public static native void insert(TQWidget widget, TQPopupMenu popup);
/**
Use this method to get information about when a popup menu
should be activated. This can be useful if the popup menu is