|
libyui
3.0.10
|
#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 std::string | getShortcutString () |
Special case for widgets that can have multiple shortcuts based on items (like YDumbTab)
Definition at line 225 of file YShortcut.h.
| YItemShortcut::YItemShortcut | ( | YWidget * | widget, |
| YItem * | item | ||
| ) | [inline] |
Constructor.
Definition at line 231 of file YShortcut.h.
| virtual YItemShortcut::~YItemShortcut | ( | ) | [inline, virtual] |
Destructor.
Definition at line 239 of file YShortcut.h.
| std::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.
Definition at line 310 of file YShortcut.cc.

| YItem* YItemShortcut::item | ( | ) | const [inline] |
Return the associated item.
Definition at line 244 of file YShortcut.h.
| void YItemShortcut::setShortcut | ( | char | newShortcut | ) | [virtual] |
Set (override) the shortcut character. In this subclass, it will change the internally stored item.
Reimplemented from YShortcut.
Definition at line 320 of file YShortcut.cc.
