diff options
Diffstat (limited to 'tests/manual/quickcontrols/testbench/clipboard.h')
-rw-r--r-- | tests/manual/quickcontrols/testbench/clipboard.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/testbench/clipboard.h b/tests/manual/quickcontrols/testbench/clipboard.h new file mode 100644 index 0000000000..f262638391 --- /dev/null +++ b/tests/manual/quickcontrols/testbench/clipboard.h @@ -0,0 +1,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 |