KIO
untrustedprogramhandlerinterface.cpp
26void UntrustedProgramHandlerInterface::showUntrustedProgramWarning(KJob *job, const QString &programName)
33bool UntrustedProgramHandlerInterface::makeServiceFileExecutable(const QString &fileName, QString &errorString)
103bool UntrustedProgramHandlerInterface::setExecuteBit(const QString &fileName, QString &errorString)
virtual void showUntrustedProgramWarning(KJob *job, const QString &programName)
Show a warning to the user about the program not being trusted for execution.
Definition untrustedprogramhandlerinterface.cpp:26
bool makeServiceFileExecutable(const QString &fileName, QString &errorString)
Helper function that attempts to make a desktop file executable.
Definition untrustedprogramhandlerinterface.cpp:33
UntrustedProgramHandlerInterface(QObject *parent=nullptr)
Constructor.
Definition untrustedprogramhandlerinterface.cpp:16
bool setExecuteBit(const QString &fileName, QString &errorString)
Helper function that attempts to set execute bit for given file.
Definition untrustedprogramhandlerinterface.cpp:103
~UntrustedProgramHandlerInterface() override
Destructor.
Definition untrustedprogramhandlerinterface.cpp:22
void result(bool confirmed)
Implementations of this interface must emit result in showUntrustedProgramWarning.
bool isEmpty() const const
qsizetype size() const const
bool open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags)
Permissions permissions(const QString &fileName)
virtual bool setPermissions(Permissions permissions) override
ExeUser
virtual void close() override
QString errorString() const const
QByteArray peek(qint64 maxSize)
QByteArray readAll()
qint64 write(const QByteArray &data)
ReadOnly
Q_EMITQ_EMIT
void cancelWriting()
bool commit()
virtual bool open(OpenMode mode) override
void setFileName(const QString &name)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:27 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:16:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.