#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.
Constructor & Destructor Documentation
◆ KGuiItem() [1/4]
KGuiItem::KGuiItem | ( | ) |
Definition at line 71 of file kguiitem.cpp.
◆ KGuiItem() [2/4]
KGuiItem::KGuiItem | ( | const TQString & | text, |
const TQString & | iconName = TQString::null , |
||
const TQString & | toolTip = TQString::null , |
||
const TQString & | whatsThis = TQString::null |
||
) |
Definition at line 75 of file kguiitem.cpp.
◆ KGuiItem() [3/4]
KGuiItem::KGuiItem | ( | const TQString & | text, |
const TQIconSet & | iconSet, | ||
const TQString & | toolTip = TQString::null , |
||
const TQString & | whatsThis = TQString::null |
||
) |
Definition at line 85 of file kguiitem.cpp.
◆ KGuiItem() [4/4]
KGuiItem::KGuiItem | ( | const KGuiItem & | rhs | ) |
Definition at line 95 of file kguiitem.cpp.
◆ ~KGuiItem()
KGuiItem::~KGuiItem | ( | ) |
Definition at line 114 of file kguiitem.cpp.
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.
◆ hasIconSet()
|
inline |
Definition at line 79 of file kguiitem.h.
◆ iconName()
TQString KGuiItem::iconName | ( | ) | const |
Definition at line 172 of file kguiitem.cpp.
◆ iconSet() [1/2]
|
inline |
Definition at line 65 of file kguiitem.h.
◆ iconSet() [2/2]
TQIconSet KGuiItem::iconSet | ( | TDEIcon::Group | group, |
int | size = 0 , |
||
TDEInstance * | instance = TDEGlobal::instance() |
||
) | const |
Definition at line 152 of file kguiitem.cpp.
◆ isEnabled()
bool KGuiItem::isEnabled | ( | ) | const |
Definition at line 187 of file kguiitem.cpp.
◆ operator=()
Definition at line 101 of file kguiitem.cpp.
◆ plainText()
TQString KGuiItem::plainText | ( | ) | const |
Definition at line 125 of file kguiitem.cpp.
◆ setEnabled()
void KGuiItem::setEnabled | ( | bool | enable | ) |
Definition at line 225 of file kguiitem.cpp.
◆ setIconName()
void KGuiItem::setIconName | ( | const TQString & | iconName | ) |
Definition at line 208 of file kguiitem.cpp.
◆ setIconSet()
void KGuiItem::setIconSet | ( | const TQIconSet & | iconset | ) |
Definition at line 201 of file kguiitem.cpp.
◆ setText()
void KGuiItem::setText | ( | const TQString & | text | ) |
Definition at line 197 of file kguiitem.cpp.
◆ setToolTip()
void KGuiItem::setToolTip | ( | const TQString & | tooltip | ) |
Definition at line 215 of file kguiitem.cpp.
◆ setWhatsThis()
void KGuiItem::setWhatsThis | ( | const TQString & | whatsThis | ) |
Definition at line 220 of file kguiitem.cpp.
◆ text()
TQString KGuiItem::text | ( | ) | const |
Definition at line 119 of file kguiitem.cpp.
◆ toolTip()
TQString KGuiItem::toolTip | ( | ) | const |
Definition at line 177 of file kguiitem.cpp.
◆ whatsThis()
TQString KGuiItem::whatsThis | ( | ) | const |
Definition at line 182 of file kguiitem.cpp.
The documentation for this class was generated from the following files: