Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qxdgdesktopportalfiletransfer_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 David Redondo <kde@david-redondo.de>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QXDGDESKTOPPORTALFILETRANSFER_P_H
5#define QXDGDESKTOPPORTALFILETRANSFER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include <QtCore/qloggingcategory.h>
20
22
24
26
28[[nodiscard]] Q_GUI_EXPORT QLatin1StringView fileTransferMimeType();
29[[nodiscard]] Q_GUI_EXPORT QString exportFiles(const QList<QUrl> &urls);
31} // namespace QXdgDesktopPortalFileTransfer
32
33QT_END_NAMESPACE
34
35#endif
QList< QString > retrieveFiles(const QString &key)
QString exportFiles(const QList< QUrl > &urls)
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcQIORing)
#define O_PATH
QT_REQUIRE_CONFIG(xdg_desktop_portal_file_transfer)