| 1 | /* |
| 2 | This file is part of the KDE libraries |
| 3 | SPDX-FileCopyrightText: 2020 David Faure <faure@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 6 | */ |
| 7 | |
| 8 | #include "openwithhandlerinterface.h" |
| 9 | |
| 10 | #include "kiocoredebug.h" |
| 11 | #include <QFile> |
| 12 | #include <QSaveFile> |
| 13 | |
| 14 | using namespace KIO; |
| 15 | |
| 16 | class KIO::OpenWithHandlerInterfacePrivate |
| 17 | { |
| 18 | }; |
| 19 | |
| 20 | OpenWithHandlerInterface::OpenWithHandlerInterface(QObject *parent) |
| 21 | : QObject(parent) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | OpenWithHandlerInterface::~OpenWithHandlerInterface() = default; |
| 26 | |
| 27 | void OpenWithHandlerInterface::promptUserForApplication(KJob *job, const QList<QUrl> &urls, const QString &mimeType) |
| 28 | { |
| 29 | Q_UNUSED(job) |
| 30 | Q_UNUSED(urls) |
| 31 | Q_UNUSED(mimeType) |
| 32 | Q_EMIT canceled(); |
| 33 | } |
| 34 | |
| 35 | #include "moc_openwithhandlerinterface.cpp" |
| 36 | |