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;
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.
@ Small
Small icons, e.g. for buttons.
Group
The group of the icon.
An abstract class for GUI data such as ToolTip and Icon.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.