KIO

openorexecutefileinterface.cpp
1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2020 Ahmad Samir <a.samirh78@gmail.com>
4
5 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#include "openorexecutefileinterface.h"
9
10using namespace KIO;
11
12class KIO::OpenOrExecuteFileInterfacePrivate
13{
14};
15
20
22
24{
25 Q_UNUSED(job)
26 Q_UNUSED(mimetype)
28}
29
30#include "moc_openorexecutefileinterface.cpp"
~OpenOrExecuteFileInterface() override
Destructor.
OpenOrExecuteFileInterface(QObject *parent=nullptr)
Constructor.
virtual void promptUserOpenOrExecute(KJob *job, const QString &mimetype)
Show a dialog to ask the user how to handle various types of executable files, basically whether to r...
void canceled()
Emitted by promptUserOpenOrExecute() if user selects cancel.
A namespace for KIO globals.
KIOCORE_EXPORT MimetypeJob * mimetype(const QUrl &url, JobFlags flags=DefaultFlags)
Find MIME type for one file or directory.
Q_EMITQ_EMIT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.