libyui
|
#include <YShortcut.h>
Public Member Functions | |
YItemShortcut (YWidget *widget, YItem *item) | |
virtual | ~YItemShortcut () |
YItem * | item () const |
virtual void | setShortcut (char newShortcut) |
Protected Member Functions | |
virtual string | getShortcutString () |
Special case for widgets that can have multiple shortcuts based on items (like YDumbTab)
virtual YItemShortcut::~YItemShortcut | ( | ) | [inline, virtual] |
Destructor.
string YItemShortcut::getShortcutString | ( | ) | [protected, virtual] |
Obtain the the shortcut property of this shortcut's widget - the string that contains "&" to designate a shortcut.
Reimplemented from YShortcut.
YItem* YItemShortcut::item | ( | ) | const [inline] |
Return the associated item.
void YItemShortcut::setShortcut | ( | char | newShortcut | ) | [virtual] |
Set (override) the shortcut character. In this subclass, it will change the internally stored item.
Reimplemented from YShortcut.