blob: f262638391eefc677df2f046d7eeb9df05fc1236 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CLIPBOARD_H
#define CLIPBOARD_H
#include <QObject>
#include <QJSValue>
#include <QVariant>
class Clipboard : public QObject
{
Q_OBJECT
public:
explicit Clipboard(QObject *parent = nullptr);
public slots:
void copy(const QJSValue &keyValueMap);
QVariant paste() const;
// void copyPaletteSettingsToClipboard();
// void importPaletteSettingsFromClipboard();
};
#endif // CLIPBOARD_H
|