Pyro higlevel API
|
Public Member Functions | |
ShortcutKey (const String &cKey, uint32 nQualifiers=0) | |
ShortcutKey (const uint32 nKey, uint32 nQualifiers=0) | |
ShortcutKey (const ShortcutKey &cShortcut) | |
ShortcutKey () | |
~ShortcutKey () | |
void | SetFromLabel (const String &cLabel) |
void | SetFromLabel (const char *pzLabel) |
bool | IsValid () const |
uint32 | GetKeyCode () const |
uint32 | GetQualifiers () const |
bool | operator< (const ShortcutKey &c) const |
bool | operator== (const ShortcutKey &c) const |
virtual int | GetType (void) const |
virtual size_t | GetFlattenedSize (void) const |
virtual status_t | Flatten (uint8 *pBuffer, size_t nSize) const |
virtual status_t | Unflatten (const uint8 *pBuffer) |
Public Member Functions inherited from os::Flattenable | |
virtual bool | TypeIsCompatible (int nType) const |
ShortcutKey::ShortcutKey | ( | const String & | cKey, |
uint32 | nQualifiers = 0 |
||
) |
References os::String::c_str(), QUAL_ALT, QUAL_CTRL, and QUAL_SHIFT.
ShortcutKey::ShortcutKey | ( | const uint32 | nKey, |
uint32 | nQualifiers = 0 |
||
) |
ShortcutKey::ShortcutKey | ( | const ShortcutKey & | cShortcut | ) |
ShortcutKey::ShortcutKey | ( | ) |
ShortcutKey::~ShortcutKey | ( | ) |
|
virtual |
Implements os::Flattenable.
|
inlinevirtual |
Implements os::Flattenable.
uint32 ShortcutKey::GetKeyCode | ( | ) | const |
uint32 ShortcutKey::GetQualifiers | ( | ) | const |
|
inlinevirtual |
Implements os::Flattenable.
References os::T_SHORTCUTKEY.
bool ShortcutKey::IsValid | ( | void | ) | const |
bool ShortcutKey::operator< | ( | const ShortcutKey & | c | ) | const |
References IsValid().
bool ShortcutKey::operator== | ( | const ShortcutKey & | c | ) | const |
References IsValid(), QUAL_ALT, QUAL_CTRL, and QUAL_SHIFT.
void ShortcutKey::SetFromLabel | ( | const String & | cLabel | ) |
References os::String::c_str().
Referenced by os::View::SetShortcutFromLabel().
void ShortcutKey::SetFromLabel | ( | const char * | pzLabel | ) |
References os::utf8_char_length().
|
virtual |
Implements os::Flattenable.