• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Member Functions | List of all members
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.

Author
Holger Freyther freyh.nosp@m.er@y.nosp@m.ahoo..nosp@m.com
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()

bool KGuiItem::hasIconSet ( ) const
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]

TQIconSet KGuiItem::iconSet ( ) const
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=()

KGuiItem & KGuiItem::operator= ( const KGuiItem &  rhs)

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:
  • kguiitem.h
  • kguiitem.cpp

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.