1 | /* |
2 | SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #ifndef QTCLIPBOARD_H |
8 | #define QTCLIPBOARD_H |
9 | |
10 | #include "ksystemclipboard.h" |
11 | |
12 | class QtClipboard : public KSystemClipboard |
13 | { |
14 | public: |
15 | explicit QtClipboard(QObject *parent); |
16 | void setMimeData(QMimeData *mime, QClipboard::Mode mode) override; |
17 | void clear(QClipboard::Mode mode) override; |
18 | const QMimeData *mimeData(QClipboard::Mode mode) const override; |
19 | }; |
20 | |
21 | #endif |
22 | |