class KKey
|
A KKey object represents a single key with possible modifiers
(Shift, Ctrl, Alt, Win). More... |
|
|
Public Types
- enum { MOD_FLAG_COUNT = 4 }
- enum { QtWIN = (Qt::ALT << 1) }
- enum ModFlag { SHIFT = 0x01,
CTRL = 0x02,
ALT = 0x04,
WIN = 0x08
}
Public Methods
Public Static Methods
A KKey object represents a single key with possible modifiers
(Shift, Ctrl, Alt, Win). It can represent both keys which are
understood by Qt as well as those which are additionally supported
by the underlying system (e.g. X11).
********************************************************************
enum { MOD_FLAG_COUNT = 4 }
|
|
enum { QtWIN = (Qt::ALT << 1) }
|
|
enum ModFlag { SHIFT = 0x01,
CTRL = 0x02,
ALT = 0x04,
WIN = 0x08
}
| ModFlag |
KKey ( const KKey& )
| KKey |
KKey ( uint key, uint mod )
| KKey |
bool init ( int keyQt )
| init |
bool init ( const KKey& )
| init |
bool init ( uint key, uint mod )
| init |
KKey& operator = ( const KKey& key )
| operator = |
[const]
bool isValidQt ()
| isValidQt |
[const]
bool isValidNative ()
| isValidNative |
[const]
[const]
uint modFlags ()
| modFlags |
[const]
int compare ( const KKey& )
| compare |
[const]
bool operator == ( const KKey& key )
| operator == |
[const]
bool operator != ( const KKey& key )
| operator != |
[const]
bool operator < ( const KKey& key )
| operator < |
[const]
int keyCodeQt ()
| keyCodeQt |
[const]
[const]
QString toStringInternal ()
| toStringInternal |
[const]
void simplify ()
| simplify |
[static]
QString modFlagLabel ( ModFlag )
| modFlagLabel |
[static]
Generated by: dfaure on faure on Tue Apr 16 08:49:00 2002, using kdoc 2.0a53. |