KDEUI
kdualaction.h
Go to the documentation of this file.
KDualAction(QObject *parent)
Constructs a KDualAction with the specified parent.
Definition kdualaction.cpp:71
void setActiveGuiItem(const KGuiItem &)
Sets the KGuiItem for the active state.
Definition kdualaction.cpp:83
void setInactiveText(const QString &)
Sets the text for the inactive state.
Definition kdualaction.cpp:95
void setIconForStates(const QIcon &icon)
Convenience method to set the icon for both active and inactive states.
Definition kdualaction.cpp:103
KGuiItem inactiveGuiItem() const
Gets the KGuiItem for the inactive state.
Definition kdualaction.cpp:86
void setInactiveIcon(const QIcon &)
Sets the icon for the inactive state.
Definition kdualaction.cpp:90
void setInactiveGuiItem(const KGuiItem &)
Sets the KGuiItem for the inactive state.
Definition kdualaction.cpp:85
void setActiveToolTip(const QString &)
Sets the tooltip for the active state.
Definition kdualaction.cpp:98
void setInactiveToolTip(const QString &)
Sets the tooltip for the inactive state.
Definition kdualaction.cpp:100
QString inactiveToolTip() const
Gets the tooltip for the inactive state.
Definition kdualaction.cpp:101
void activeChangedByUser(bool)
Only emitted when the state changes because the user triggered the action.
bool autoToggle() const
Returns whether the current action will automatically be changed when the user triggers this action.
Definition kdualaction.cpp:114
void setAutoToggle(bool)
Defines whether the current action should automatically be changed when the user triggers this action...
Definition kdualaction.cpp:109
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.