forked from Public/monero-gui
https://trello.com/c/VpuuPT5L/27-per-transaction-descriptions-should-be-removed-from-dashboard-history-as-discussed https://trello.com/c/wy3nFH3g/30-please-add-ctrl-tab-ctrl-shift-tab-shortcut-keys-to-rotate-between-tabs https://trello.com/c/6Y6kOXsU/44-add-monero-title-to-the-main-window
This commit is contained in:
19
clipboardAdapter.h
Normal file
19
clipboardAdapter.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user