KDEUI
Go to the documentation of this file. 25 #include <QtCore/QString> 45 explicit KGuiItem(
const QString &text,
46 const QString &iconName = QString(),
47 const QString &toolTip = QString(),
51 const QString &toolTip = QString(),
60 QString plainText()
const;
63 #ifndef KDE_NO_DEPRECATED 69 QString iconName()
const;
70 QString toolTip()
const;
72 bool isEnabled()
const;
74 #if !defined(KDE_NO_COMPAT) && !defined(KDE_NO_DEPRECATED) 75 KDE_DEPRECATED
bool hasIconSet()
const {
return hasIcon(); }
78 void setText(
const QString &text );
79 void setIcon(
const KIcon &iconset );
80 void setIconName(
const QString &iconName );
81 void setToolTip(
const QString &tooltip );
82 void setWhatsThis(
const QString &whatsThis );
83 void setEnabled(
bool enable );
86 class KGuiItemPrivate;
Small icons, e.g. for buttons.
An abstract class for GUI data such as ToolTip and Icon.
A wrapper around QIcon that provides KDE icon features.
KAction * whatsThis(const QObject *recvr, const char *slot, QObject *parent)
Trigger the What's This cursor.
Group
The group of the icon.
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Wed May 11 2016 01:40:20 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.