mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 03:46:33 +02:00
20 lines
363 B
C
20 lines
363 B
C
|
#ifndef CLIPBOARDADAPTER_H
|
||
|
#define CLIPBOARDADAPTER_H
|
||
|
|
||
|
#include <QGuiApplication>
|
||
|
#include <QClipboard>
|
||
|
#include <QObject>
|
||
|
|
||
|
class clipboardAdapter : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit clipboardAdapter(QObject *parent = 0);
|
||
|
Q_INVOKABLE void setText(const QString &text);
|
||
|
|
||
|
private:
|
||
|
QClipboard *m_pClipboard;
|
||
|
};
|
||
|
|
||
|
#endif // CLIPBOARDADAPTER_H
|