matrixion/src/Clipboard.h

23 lines
444 B
C
Raw Normal View History

2021-04-29 23:52:55 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later
2021-04-29 22:46:49 +03:00
#pragma once
#include <QObject>
#include <QString>
class Clipboard : public QObject
{
Q_OBJECT
Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
public:
Clipboard(QObject *parent = nullptr);
QString text() const;
void setText(QString text_);
signals:
void textChanged();
};