tdeaccelmenuwatch.h
Easy updating of menu accels when changing a TDEAccel object.
Definition: tdeaccelmenuwatch.h:36
void connectAccel(int itemId, const char *action)
Connect the menu item identified to currentMenu()/id to the accelerator action.
Definition: tdeaccelmenuwatch.cpp:36
TDEAccelMenuWatch(TDEAccel *accel, TQObject *parent=0)
TDEAccelMenuWatch Constructor.
Definition: tdeaccelmenuwatch.cpp:12
void setMenu(TQPopupMenu *menu)
Set the menu on which connectAccel calls will operate.
Definition: tdeaccelmenuwatch.cpp:21
TQPopupMenu * currentMenu() const
Return the last menu set with TDEAccelMenuWatch::setMenu(TQPopupMenu*), or 0 if none has been set.
Definition: tdeaccelmenuwatch.h:86