PolkitQt-1
polkitqt1-gui-actionbutton.cpp
Class used to hold and update a QAbstractButton.
Definition polkitqt1-gui-actionbutton.h:40
QAbstractButton * button() const
Returns the current button.
Definition polkitqt1-gui-actionbutton.cpp:135
void setButton(QAbstractButton *button)
Sets the button associated to the underlying action.
Definition polkitqt1-gui-actionbutton.cpp:87
ActionButton(QAbstractButton *button, const QString &actionId=QString(), QObject *parent=nullptr)
Constructs a new ActionButton.
Definition polkitqt1-gui-actionbutton.cpp:19
bool activate()
Use this slot if you want to activate the action.
Definition polkitqt1-gui-action.cpp:112
void dataChanged()
Emitted when the PolicyKit result (PolKitResult) for the given action or the internal data changes (i...
bool isCheckable() const const
void setChecked(bool)
void setIcon(const QIcon &icon)
void setText(const QString &text)
bool isChecked() const const
void toggle()
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
void setEnabled(bool)
void setToolTip(const QString &)
virtual void setVisible(bool visible)
void setWhatsThis(const QString &)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 15 2024 11:56:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 15 2024 11:56:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.