1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-11 16:59:01 +01:00
monero-gui/clipboardAdapter.h

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