|
|
Represents a key symbol.
See also: KKey, KKeyServer
uint m_sym | m_sym |
Sym ()
| Sym |
Sym ( uint sym )
| Sym |
Creates asymbol with the given value.
Parameters:
sym | the value |
Sym ( const QString& s )
| Sym |
Creates a symbol from the given string description.
Parameters:
s | the description of the symbol |
See also: toString()
bool initQt ( int keyQt )
| initQt |
Initializes the symbol with the given Qt key code.
Parameters:
keyQt | the qt key code |
Returns: true if succesful, false otherwise
See also: Qt::Key
bool init ( const QString &s )
| init |
Initializes the key with the given string description.
Parameters:
s | the string description |
Returns: true if succesful, false otherwise
See also: toString()
int qt ()
| qt |
[const]
Returns the qt key code of the symbol.
Returns: the qt key code
QString toStringInternal ()
| toStringInternal |
[const]
QString toString ()
| toString |
[const]
Returns the string representation of the symbol.
Returns: the string representation of the symbol
uint getModsRequired ()
| getModsRequired |
[const]
Returns the mods that are required for this symbol as ORed KKey::ModFlag's. For example, Break requires a Ctrl to be valid.
Returns: the required KKey::ModFlag's
See also: ModFlag
uint getSymVariation ()
| getSymVariation |
[const]
TODO: please find out what this method does and document it
operator uint ()
| uint |
[const]
Casts the symbol to its integer representation.
Sym& operator = ( uint sym )
| operator = |
Overloaded operator to convert ints to Sym.
Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $. |