PolkitQt-1
polkitqt1-gui-actionbuttons.h
53 explicit ActionButtons(const QList<QAbstractButton *> &buttons, const QString &actionId = QString(), QObject *parent = nullptr);
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
Class used to hold and update a list of QAbstractButtons.
Definition polkitqt1-gui-actionbuttons.h:34
QList< QAbstractButton * > buttons() const
Returns the current buttons list.
Definition polkitqt1-gui-actionbuttons.cpp:35
void addButton(QAbstractButton *button)
Adds a button to the current button list.
Definition polkitqt1-gui-actionbuttons.cpp:42
void removeButton(QAbstractButton *button)
Removes a button from the current list.
Definition polkitqt1-gui-actionbuttons.cpp:49
void setButtons(const QList< QAbstractButton * > &buttons)
Sets a list of buttons associated to the underlying action.
Definition polkitqt1-gui-actionbuttons.cpp:28
ActionButtons(const QList< QAbstractButton * > &buttons, const QString &actionId=QString(), QObject *parent=nullptr)
Constructs a new ActionButton.
Definition polkitqt1-gui-actionbuttons.cpp:18
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.