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
qohosmimedata.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
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 QOHOSMIMEDATA_H
5#define QOHOSMIMEDATA_H
6
7#include <QtCore/private/qohoscommon_p.h>
8#include <QtCore/qmimedata.h>
9#include <QtCore/qstring.h>
10#include <QtCore/qvariant.h>
11#include <map>
12#include <memory>
13
14QT_BEGIN_NAMESPACE
15
16QOhosSupplier<std::unique_ptr<QMimeData>> makeQOhosLazyFetchMimeDataFactory(
17 std::map<QString, QOhosSupplier<QVariant>> mimeValuesSuppliers);
18QOhosSupplier<std::unique_ptr<QMimeData>> makeQOhosMimeDataFactory(std::map<QString, QVariant> mimeValues);
19
20QT_END_NAMESPACE
21
22#endif
std::enable_if_t< qohosplugincore_h_detail::isQOhosOptional< QOhosInvokeResult< Func, T > >, QOhosInvokeResult< Func, T > > andThen(Func &&func) const
QStringList formats_sys() const override
SuppliersBasedMimeData(std::shared_ptr< const std::map< QString, QOhosSupplier< QVariant > > > mimeValuesSuppliers)
QVariant retrieveData_sys(const QString &mimeType, QMetaType type) const override
bool hasFormat_sys(const QString &mimeType) const override
Combined button and popup list for selecting options.
QOhosSupplier< T > makeMemoizingSupplier(QOhosSupplier< T > baseSupplier)
QOhosSupplier< std::unique_ptr< QMimeData > > makeQOhosMimeDataFactory(std::map< QString, QVariant > mimeValues)
QOhosSupplier< std::unique_ptr< QMimeData > > makeQOhosLazyFetchMimeDataFactory(std::map< QString, QOhosSupplier< QVariant > > mimeValuesSuppliers)