org.kde.koala
public class KKeyNative extends Object implements QtSupport
See Also: KKey
UNKNOWN: Representation of a key in the format native of the windowing system (eg.
Constructor Summary | |
---|---|
protected | KKeyNative(Class dummy) |
KKeyNative()
Creates a new null KKey. | |
KKeyNative(KKey key)
Creates a new native key for the given KKey code. | |
KKeyNative(int code, int mod, int sym) |
Method Summary | |
---|---|
void | clear()
Clears the key. |
int | code()
The native keycode of the key. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | init(KKey key)
Creates a new native key for the given KKey code. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isNull()
Returns true if the key is null (after clear() or empty
constructor). |
KKey | key()
Returns the KKey representation of this key. |
static boolean | keyboardHasWinKey()
Checks whether the keyboard has a Win key. |
int | keyCodeQt()
Returns the qt key code. |
int | mod()
The native modifier flags of the key. |
static KKeyNative | nil()
Returns a null key. |
int | sym()
The native symbol (KeySym) of the key. |
See Also: KKeyNative KKeyNative KKeyNative
UNKNOWN: Creates a new null KKey.
Parameters: key the KKey that contains the generic key
UNKNOWN: Creates a new native key for the given KKey code.
UNKNOWN:
See Also: KKeyNative
UNKNOWN: Clears the key.
Returns: the native keycode
UNKNOWN: The native keycode of the key.
Parameters: key the KKey that contains the generic key
Returns: true if successful, false otherwise
UNKNOWN: Creates a new native key for the given KKey code.
Returns: true if the key is null
See Also: KKeyNative KKeyNative
UNKNOWN: Returns true if the key is null (after clear() or empty constructor).
Returns: the KKey representation
UNKNOWN: Returns the KKey representation of this key.
Returns: true if the keyboard has a Win key
UNKNOWN: Checks whether the keyboard has a Win key.
Returns: the qt key code or 0 if there is no key set.
See Also: org.kde.qt.Qt#Key
UNKNOWN: Returns the qt key code.
Returns: the native modifier flags
UNKNOWN: The native modifier flags of the key.
Returns: the null key
See Also: KKeyNative KKeyNative
UNKNOWN: Returns a null key.
Returns: the native symbol (KeySym)
UNKNOWN: The native symbol (KeySym) of the key.