File indexing completed on 2024-05-12 03:54:59
0001 /* 0002 This file is part of the KDE project 0003 0004 SPDX-FileCopyrightText: 2019 David Hallas <david@davidhallas.dk> 0005 0006 SPDX-License-Identifier: LGPL-2.0-only 0007 */ 0008 0009 #include "klistopenfilesjob.h" 0010 #include <QTimer> 0011 0012 class KListOpenFilesJobPrivate 0013 { 0014 }; 0015 0016 KListOpenFilesJob::KListOpenFilesJob(const QString &) 0017 : d(nullptr) 0018 { 0019 } 0020 0021 KListOpenFilesJob::~KListOpenFilesJob() = default; 0022 0023 void KListOpenFilesJob::start() 0024 { 0025 QTimer::singleShot(0, [this]() { 0026 setError(static_cast<int>(KListOpenFilesJob::Error::NotSupported)); 0027 setErrorText(QObject::tr("KListOpenFilesJob is not supported on Windows")); 0028 emitResult(); 0029 }); 0030 } 0031 0032 KProcessList::KProcessInfoList KListOpenFilesJob::processInfoList() const 0033 { 0034 return KProcessList::KProcessInfoList(); 0035 } 0036 0037 #include "moc_klistopenfilesjob.cpp"