File indexing completed on 2024-04-21 03:55:29

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2020 Ahmad Samir <a.samirh78@gmail.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #include "openorexecutefileinterface.h"
0009 
0010 using namespace KIO;
0011 
0012 class KIO::OpenOrExecuteFileInterfacePrivate
0013 {
0014 };
0015 
0016 OpenOrExecuteFileInterface::OpenOrExecuteFileInterface(QObject *parent)
0017     : QObject(parent)
0018 {
0019 }
0020 
0021 OpenOrExecuteFileInterface::~OpenOrExecuteFileInterface() = default;
0022 
0023 void OpenOrExecuteFileInterface::promptUserOpenOrExecute(KJob *job, const QString &mimetype)
0024 {
0025     Q_UNUSED(job)
0026     Q_UNUSED(mimetype)
0027     Q_EMIT canceled();
0028 }
0029 
0030 #include "moc_openorexecutefileinterface.cpp"