KGuiItem Class Reference
#include <kguiitem.h>
Inherited by TDEAction::TDEActionPrivate.
Public Member Functions | |
KGuiItem (const TQString &text, const TQString &iconName=TQString::null, const TQString &toolTip=TQString::null, const TQString &whatsThis=TQString::null) | |
KGuiItem (const TQString &text, const TQIconSet &iconSet, const TQString &toolTip=TQString::null, const TQString &whatsThis=TQString::null) | |
KGuiItem (const KGuiItem &rhs) | |
KGuiItem & | operator= (const KGuiItem &rhs) |
TQString | text () const |
TQString | plainText () const |
TQIconSet | iconSet (TDEIcon::Group, int size=0, TDEInstance *instance=TDEGlobal::instance()) const |
TQIconSet | iconSet () const |
TQString | iconName () const |
TQString | toolTip () const |
TQString | whatsThis () const |
bool | isEnabled () const |
bool | hasIcon () const |
bool | hasIconSet () const |
void | setText (const TQString &text) |
void | setIconSet (const TQIconSet &iconset) |
void | setIconName (const TQString &iconName) |
void | setToolTip (const TQString &tooltip) |
void | setWhatsThis (const TQString &whatsThis) |
void | setEnabled (bool enable) |
Detailed Description
An abstract class for GUI data such as ToolTip and Icon.
- See also
- KStdGuiItem
Definition at line 38 of file kguiitem.h.
Member Function Documentation
◆ hasIcon()
bool KGuiItem::hasIcon | ( | ) | const |
returns whether an icon is defined, doesn't tell if it really exists
Definition at line 192 of file kguiitem.cpp.
The documentation for this class was generated from the following files: