// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later #include "dfileservices.h" DCORE_BEGIN_NAMESPACE static QStringList urls2uris(const QList &urls) { QStringList list; list.reserve(urls.size()); for (const QUrl url : urls) { list << url.toString(); } return list; } static QList path2urls(const QList &paths) { QList list; list.reserve(paths.size()); for (const QString &path : paths) { list << QUrl::fromLocalFile(path); } return list; } bool DFileServices::showFolder(QString localFilePath, const QString &startupId) { Q_UNUSED(localFilePath); Q_UNUSED(startupId); return false; } bool DFileServices::showFolders(const QList localFilePaths, const QString &startupId) { Q_UNUSED(localFilePaths); Q_UNUSED(startupId); return false; } bool DFileServices::showFolder(QUrl url, const QString &startupId) { Q_UNUSED(url); Q_UNUSED(startupId); return false; } bool DFileServices::showFolders(const QList urls, const QString &startupId) { Q_UNUSED(urls); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItemPropertie(QString localFilePath, const QString &startupId) { Q_UNUSED(localFilePath); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItemProperties(const QList localFilePaths, const QString &startupId) { Q_UNUSED(localFilePaths); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItemPropertie(QUrl url, const QString &startupId) { Q_UNUSED(url); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItemProperties(const QList urls, const QString &startupId) { Q_UNUSED(urls); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItem(QString localFilePath, const QString &startupId) { Q_UNUSED(localFilePath); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItems(const QList localFilePaths, const QString &startupId) { Q_UNUSED(localFilePaths); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItem(QUrl url, const QString &startupId) { Q_UNUSED(url); Q_UNUSED(startupId); return false; } bool DFileServices::showFileItems(const QList urls, const QString &startupId) { Q_UNUSED(urls); Q_UNUSED(startupId); return false; } bool DFileServices::trash(QString localFilePath) { Q_UNUSED(localFilePath); return false; } bool DFileServices::trash(const QList localFilePaths) { Q_UNUSED(localFilePaths); return false; } bool DFileServices::trash(QUrl url) { Q_UNUSED(url); return false; } bool DFileServices::trash(const QList urls) { Q_UNUSED(urls); return false; } QString DFileServices::errorMessage() { return QString(); } DCORE_END_NAMESPACE