tdetoolbarlabelaction.cpp
An action that automatically embeds a widget into a toolbar.
Definition: tdeactionclasses.h:1310
TQWidget * widget()
Returns the widget associated with this action.
Definition: tdeactionclasses.h:1328
virtual void setText(const TQString &text)
Sets the text associated with this action.
Definition: tdeaction.cpp:879
virtual void setBuddy(TQWidget *buddy)
Sets the label's buddy to buddy.
Definition: tdetoolbarlabelaction.cpp:99
TQLabel * label() const
Returns the label which is used internally.
Definition: tdetoolbarlabelaction.cpp:109
virtual void setText(const TQString &text)
Reimplemented to update both the action's text and the label's text.
Definition: tdetoolbarlabelaction.cpp:93
TDEToolBarLabelAction(const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name)
Constructs a toolbar label.
Definition: tdetoolbarlabelaction.cpp:35
TQWidget * buddy() const
Returns the label's buddy or 0 if no buddy is currently set.
Definition: tdetoolbarlabelaction.cpp:104