• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdeui

KGuiItem Class Reference

#include <kguiitem.h>

Inherited by KAction::KActionPrivate.

List of all members.


Detailed Description

An abstract class for GUI data such as ToolTip and Icon.

Author:
Holger Freyther <freyher@yahoo.com>
See also:
KStdGuiItem

Definition at line 38 of file kguiitem.h.


Public Member Functions

 KGuiItem (const QString &text, const QString &iconName=QString::null, const QString &toolTip=QString::null, const QString &whatsThis=QString::null)
 KGuiItem (const QString &text, const QIconSet &iconSet, const QString &toolTip=QString::null, const QString &whatsThis=QString::null)
 KGuiItem (const KGuiItem &rhs)
KGuiItem & operator= (const KGuiItem &rhs)
QString text () const
QString plainText () const
QIconSet iconSet (KIcon::Group, int size=0, KInstance *instance=KGlobal::instance()) const
QIconSet iconSet () const
QString iconName () const
QString toolTip () const
QString whatsThis () const
bool isEnabled () const
bool hasIcon () const
bool hasIconSet () const
void setText (const QString &text)
void setIconSet (const QIconSet &iconset)
void setIconName (const QString &iconName)
void setToolTip (const QString &tooltip)
void setWhatsThis (const QString &whatsThis)
void setEnabled (bool enable)

Member Function Documentation

bool KGuiItem::hasIcon (  )  const

returns whether an icon is defined, doesn't tell if it really exists

Definition at line 190 of file kguiitem.cpp.


The documentation for this class was generated from the following files:
  • kguiitem.h
  • kguiitem.cpp

kdeui

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal