PolkitQt-1
polkitqt1-gui-actionbuttons.cpp
18ActionButtons::ActionButtons(const QList<QAbstractButton *> &buttons, const QString &actionId, QObject *parent)
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_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.