KAuth
action.cpp
163 if (BackendsManager::authBackend()->capabilities() & KAuth::AuthBackend::CheckActionExistenceCapability) {
168 const QRegularExpression re(QRegularExpression::anchoredPattern(QStringLiteral("[0-z]+(\\.[0-z]+)*")));
QString anchoredPattern(const QString &expression)
void setArguments(const QVariantMap &arguments)
Sets the map object used to pass arguments to the helper.
Definition: action.cpp:173
void setParentWidget(QWidget *parent)
Sets a parent widget for the authentication dialog.
Definition: action.cpp:199
QWidget * parentWidget() const
Returns the parent widget for the authentication dialog for this action.
Definition: action.cpp:204
AuthStatus status() const
Gets information about the authorization status of an action.
Definition: action.cpp:209
ExecuteJob * execute(ExecutionMode mode=ExecuteMode)
Get the job object used to execute the action.
Definition: action.cpp:218
QVariantMap arguments() const
Returns map object used to pass arguments to the helper.
Definition: action.cpp:183
bool hasMatch() const const
QRegularExpressionMatch match(const QString &subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const const
Definition: action.cpp:18
void addArgument(const QString &key, const QVariant &value)
Convenience method to add an argument.
Definition: action.cpp:178
void setHelperId(const QString &id)
Sets the default helper ID used for actions execution.
Definition: action.cpp:194
QString helperId() const
Gets the default helper ID used for actions execution.
Definition: action.cpp:188
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.