diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KAccel.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KAccel.java | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/kdejava/koala/org/kde/koala/KAccel.java b/kdejava/koala/org/kde/koala/KAccel.java index 2400b2da..989d45eb 100644 --- a/kdejava/koala/org/kde/koala/KAccel.java +++ b/kdejava/koala/org/kde/koala/KAccel.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.QObject; -import org.kde.qt.QWidget; -import org.kde.qt.QAccel; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQAccel; /** @@ -57,44 +57,44 @@ import org.kde.qt.QAccel; @see KKeyDialog */ -public class KAccel extends QAccel { +public class KAccel extends TQAccel { protected KAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KAccel that watches <code>pParent</code>, which is also - the QObject's parent. + the TQObject's parent. @param pParent the parent and widget to watch for key strokes - @param psName the name of the QObject - @short Creates a new KAccel that watches <code>pParent</code>, which is also the QObject's parent. + @param psName the name of the TQObject + @short Creates a new KAccel that watches <code>pParent</code>, which is also the TQObject's parent. */ - public KAccel(QWidget pParent, String psName) { + public KAccel(TQWidget pParent, String psName) { super((Class) null); newKAccel(pParent,psName); } - private native void newKAccel(QWidget pParent, String psName); - public KAccel(QWidget pParent) { + private native void newKAccel(TQWidget pParent, String psName); + public KAccel(TQWidget pParent) { super((Class) null); newKAccel(pParent); } - private native void newKAccel(QWidget pParent); + private native void newKAccel(TQWidget pParent); /** Creates a new KAccel that watches <code>watch.</code> @param watch the widget to watch for key strokes - @param parent the parent of the QObject - @param psName the name of the QObject + @param parent the parent of the TQObject + @param psName the name of the TQObject @short Creates a new KAccel that watches <code>watch.</code> */ - public KAccel(QWidget watch, QObject parent, String psName) { + public KAccel(TQWidget watch, TQObject parent, String psName) { super((Class) null); newKAccel(watch,parent,psName); } - private native void newKAccel(QWidget watch, QObject parent, String psName); - public KAccel(QWidget watch, QObject parent) { + private native void newKAccel(TQWidget watch, TQObject parent, String psName); + public KAccel(TQWidget watch, TQObject parent) { super((Class) null); newKAccel(watch,parent); } - private native void newKAccel(QWidget watch, QObject parent); + private native void newKAccel(TQWidget watch, TQObject parent); /** Returns the KAccel's <code>KAccelActions</code>, a list of <code>KAccelAction.</code> @return the KAccelActions of the KAccel @@ -104,7 +104,7 @@ public class KAccel extends QAccel { public native KAccelActions actions(); /** Checks whether the KAccel is active. - @return true if the QAccel is enabled + @return true if the TQAccel is enabled @short Checks whether the KAccel is active. */ @@ -147,17 +147,17 @@ public class KAccel extends QAccel { @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 cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. @short Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. */ - 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); /** This is an overloaded function provided for convenience. The advantage of this is when you want to use the same text for the name @@ -174,9 +174,9 @@ public class KAccel extends QAccel { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short This is an overloaded function provided for convenience. */ - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all @@ -184,9 +184,9 @@ public class KAccel extends QAccel { @short Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all set according to one of the standard accelerators. @see KStdAccel# */ - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -234,7 +234,7 @@ public class KAccel extends QAccel { @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); /** Enable or disable the action named by <code>sAction.</code> @param sAction the action to en-/disable |