libyui  3.0.10
YItemShortcut Class Reference

#include <YShortcut.h>

Inheritance diagram for YItemShortcut:
Collaboration 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 std::string getShortcutString ()

Detailed Description

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

Definition at line 225 of file YShortcut.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:


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