File indexing completed on 2024-12-01 12:32:59
0001 /* 0002 SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef QTCLIPBOARD_H 0008 #define QTCLIPBOARD_H 0009 0010 #include "ksystemclipboard.h" 0011 0012 class QtClipboard : public KSystemClipboard 0013 { 0014 public: 0015 explicit QtClipboard(QObject *parent); 0016 void setMimeData(QMimeData *mime, QClipboard::Mode mode) override; 0017 void clear(QClipboard::Mode mode) override; 0018 const QMimeData *mimeData(QClipboard::Mode mode) const override; 0019 }; 0020 0021 #endif