diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KKey.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KKey.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdejava/koala/org/kde/koala/KKey.java b/kdejava/koala/org/kde/koala/KKey.java index 6bc2827e..3bc06cf6 100644 --- a/kdejava/koala/org/kde/koala/KKey.java +++ b/kdejava/koala/org/kde/koala/KKey.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QKeySequence; +import org.kde.qt.TQKeySequence; import org.kde.qt.QtSupport; -import org.kde.qt.QKeyEvent; +import org.kde.qt.TQKeyEvent; /** @@ -68,19 +68,19 @@ public class KKey implements QtSupport { @param keySeq the key sequence that contains the key @short Creates a new key from the first key code of the given key sequence. */ - public KKey(QKeySequence keySeq) { + public KKey(TQKeySequence keySeq) { newKKey(keySeq); } - private native void newKKey(QKeySequence keySeq); + private native void newKKey(TQKeySequence keySeq); /** Extracts the key from the given key event. @param keyEvent the key event to get the key from @short Extracts the key from the given key event. */ - public KKey(QKeyEvent keyEvent) { + public KKey(TQKeyEvent keyEvent) { newKKey(keyEvent); } - private native void newKKey(QKeyEvent keyEvent); + private native void newKKey(TQKeyEvent keyEvent); /** Copy constructor. @short Copy constructor. @@ -131,7 +131,7 @@ public class KKey implements QtSupport { @short Initializes the key with the first key code of the given key sequence. */ - public native boolean init(QKeySequence keySeq); + public native boolean init(TQKeySequence keySeq); /** Initializes the key by extracting the code from the given key event. @param keyEvent the key event to get the key from @@ -139,7 +139,7 @@ public class KKey implements QtSupport { @short Initializes the key by extracting the code from the given key event. */ - public native boolean init(QKeyEvent keyEvent); + public native boolean init(TQKeyEvent keyEvent); /** Copies the given key. @param key the key to copy |