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
qwaylanddatasource_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QWAYLANDDATASOURCE_H
5#define QWAYLANDDATASOURCE_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 <QObject>
19
20#include <QtWaylandClient/private/qwayland-wayland.h>
21#include <QtWaylandClient/private/qtwaylandclientglobal_p.h>
22
24
25QT_BEGIN_NAMESPACE
26
27class QMimeData;
28
29namespace QtWaylandClient {
30
31class QWaylandDataDeviceManager;
32class QWaylandDisplay;
33
61
62}
63
64QT_END_NAMESPACE
65
66#endif // QWAYLANDDATASOURCE_H
virtual void startReceiving(const QString &mimeType, int fd)=0
QWaylandDataControlOfferV1 * selectionOffer() const
QWaylandDataControlOfferV1 * primarySelectionOffer() const
QWaylandDataControlSourceV1 * selectionSource() const
void setSelectionSource(QWaylandDataControlSourceV1 *source)
QWaylandDataControlSourceV1 * primarySelectionSource() const
void setPrimarySelectionSource(QWaylandDataControlSourceV1 *source)
QWaylandDataControlManagerV1(QWaylandDisplay *display, uint id, uint version)
QWaylandDataControlDeviceV1 * createDevice(QWaylandInputDevice *seat)
QWaylandDataControlOfferV1(QWaylandDisplay *display, ::zwlr_data_control_offer_v1 *offer)
void startReceiving(const QString &mimeType, int fd) override
void zwlr_data_control_offer_v1_offer(const QString &mime_type) override
QVariant retrieveData_sys(const QString &mimeType, QMetaType type) const override
void appendFormat(const QString &mimeType)
QStringList formats_sys() const override
QWaylandMimeData(QWaylandAbstractDataOffer *dataOffer)
bool hasFormat_sys(const QString &mimeType) const override
Combined button and popup list for selecting options.
QT_REQUIRE_CONFIG(animation)
QT_REQUIRE_CONFIG(itemmodel)
QT_REQUIRE_CONFIG(clipboard)