KKeyServer::Sym Struct Reference
Represents a key symbol. More...
#include <kkeyserver_x11.h>
Public Member Functions | |
Sym () | |
Sym (uint sym) | |
Sym (const QString &s) | |
bool | initQt (int keyQt) |
bool | init (const QString &s) |
int | qt () const |
QString | toStringInternal () const |
QString | toString () const |
uint | getModsRequired () const |
uint | getSymVariation () const |
operator uint () const | |
Sym & | operator= (uint sym) |
Public Attributes | |
uint | m_sym |
Detailed Description
Represents a key symbol.
- See also:
- KKey
Definition at line 47 of file kkeyserver_x11.h.
Constructor & Destructor Documentation
|
Creates a null symbol.
Definition at line 54 of file kkeyserver_x11.h. |
|
Creates asymbol with the given value.
Definition at line 60 of file kkeyserver_x11.h. |
|
Creates a symbol from the given string description.
Definition at line 67 of file kkeyserver_x11.h. |
Member Function Documentation
|
Initializes the symbol with the given Qt key code.
Definition at line 404 of file kkeyserver_x11.cpp. Referenced by KKeyServer::keyQtToSym(). |
|
Initializes the key with the given string description.
Definition at line 435 of file kkeyserver_x11.cpp. References m_sym. |
|
Returns the qt key code of the symbol.
Definition at line 475 of file kkeyserver_x11.cpp. References m_sym. Referenced by KKeyServer::symToKeyQt(). |
|
Returns the string representation of the symbol.
Definition at line 533 of file kkeyserver_x11.cpp. |
|
Returns the mods that are required for this symbol as ORed KKey::ModFlag's. For example, Break requires a Ctrl to be valid.
Definition at line 535 of file kkeyserver_x11.cpp. References m_sym. |
|
TODO: please find out what this method does and document it.
Definition at line 567 of file kkeyserver_x11.cpp. References m_sym. |
|
Casts the symbol to its integer representation.
Definition at line 120 of file kkeyserver_x11.h. |
|
Overloaded operator to convert ints to Sym.
Definition at line 125 of file kkeyserver_x11.h. |
Member Data Documentation
|
the actual value of the symbol
Definition at line 51 of file kkeyserver_x11.h. Referenced by getModsRequired(), getSymVariation(), KKey::init(), init(), initQt(), KKeyServer::keyQtToSym(), and qt(). |
The documentation for this struct was generated from the following files: