diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KGlobalAccel.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KGlobalAccel.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdejava/koala/org/kde/koala/KGlobalAccel.java b/kdejava/koala/org/kde/koala/KGlobalAccel.java index f9081cc3..f34882d1 100644 --- a/kdejava/koala/org/kde/koala/KGlobalAccel.java +++ b/kdejava/koala/org/kde/koala/KGlobalAccel.java @@ -2,10 +2,10 @@ 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.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -19,27 +19,27 @@ import org.kde.qt.QObject; @see KKeyDialog */ -public class KGlobalAccel extends QObject { +public class KGlobalAccel extends TQObject { protected KGlobalAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KGlobalAccel object with the given pParent and psName. - @param pParent the parent of the QObject - @param psName the name of the QObject + @param pParent the parent of the TQObject + @param psName the name of the TQObject @short Creates a new KGlobalAccel object with the given pParent and psName. */ - public KGlobalAccel(QObject pParent, String psName) { + public KGlobalAccel(TQObject pParent, String psName) { super((Class) null); newKGlobalAccel(pParent,psName); } - private native void newKGlobalAccel(QObject pParent, String psName); - public KGlobalAccel(QObject pParent) { + private native void newKGlobalAccel(TQObject pParent, String psName); + public KGlobalAccel(TQObject pParent) { super((Class) null); newKGlobalAccel(pParent); } - private native void newKGlobalAccel(QObject pParent); + private native void newKGlobalAccel(TQObject pParent); /** Checks whether the accelerators are enabled. @return true if the KGlobalAccel is enabled @@ -68,9 +68,9 @@ public class KGlobalAccel extends QObject { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short Create an accelerator action. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -122,7 +122,7 @@ public class KGlobalAccel extends QObject { @short Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. */ - public native boolean setSlot(String sAction, QObject pObjSlot, String psMethodSlot); + public native boolean setSlot(String sAction, TQObject pObjSlot, String psMethodSlot); /** Enables or disables action <code>sAction.</code> @short Enables or disables action <code>sAction.</code> |