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

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2020 David Faure <faure@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #include "openwithhandlerinterface.h"
0009 
0010 #include "kiocoredebug.h"
0011 #include <QFile>
0012 #include <QSaveFile>
0013 
0014 using namespace KIO;
0015 
0016 class KIO::OpenWithHandlerInterfacePrivate
0017 {
0018 };
0019 
0020 OpenWithHandlerInterface::OpenWithHandlerInterface(QObject *parent)
0021     : QObject(parent)
0022 {
0023 }
0024 
0025 OpenWithHandlerInterface::~OpenWithHandlerInterface() = default;
0026 
0027 void OpenWithHandlerInterface::promptUserForApplication(KJob *job, const QList<QUrl> &urls, const QString &mimeType)
0028 {
0029     Q_UNUSED(job)
0030     Q_UNUSED(urls)
0031     Q_UNUSED(mimeType)
0032     Q_EMIT canceled();
0033 }
0034 
0035 #include "moc_openwithhandlerinterface.cpp"