mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 01:50:47 +03:00
19 lines
344 B
C
19 lines
344 B
C
|
#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();
|
||
|
};
|