PolkitQt-1
9 #ifndef POLKITQT1_GUI_ACTION_H
10 #define POLKITQT1_GUI_ACTION_H
12 #include "polkitqt1-gui-export.h"
110 void setChecked(
bool checked);
124 void setPolkitAction(
const QString &actionId);
150 void setToolTip(
const QString &toolTip,
States states = All);
159 void setWhatsThis(
const QString &whatsThis,
States states = All);
170 void setIcon(
const QIcon &icon,
States states = All);
179 void setVisible(
bool visible,
States states = All);
188 void setEnabled(
bool enabled,
States states = All);
197 void setTargetPID(qint64 pid);
241 bool isVisible(
State state = None)
const;
250 bool isEnabled(
State state = None)
const;
255 qint64 targetPID()
const;
264 bool isAllowed()
const;
276 bool is(
const QString &actionId)
const;
282 Q_PRIVATE_SLOT(d,
void configChanged())
Class used to manage actions.
Namespace wrapping Polkit-Qt classes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:56:46 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.