mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
22 lines
420 B
C++
22 lines
420 B
C++
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#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();
|
|
};
|