Public Member Functions | Protected Member Functions

YItemShortcut Class Reference

#include <YShortcut.h>

Inheritance diagram for YItemShortcut:

List of all members.

Public Member Functions

 YItemShortcut (YWidget *widget, YItem *item)
virtual ~YItemShortcut ()
YItemitem () const
virtual void setShortcut (char newShortcut)

Protected Member Functions

virtual string getShortcutString ()

Detailed Description

Special case for widgets that can have multiple shortcuts based on items (like YDumbTab)

Constructor & Destructor Documentation

YItemShortcut::YItemShortcut ( YWidget widget,
YItem item 
) [inline]


virtual YItemShortcut::~YItemShortcut ( ) [inline, virtual]


Member Function Documentation

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.

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends