aboutsummaryrefslogtreecommitdiff
path: root/clipboardAdapter.h
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-16 14:40:09 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-16 14:40:09 +0200
commit2eddebe1c2c41f8a9be56862f355251d5d34f18f (patch)
tree4a34053a6d1db2718596b18c262a2b0ab4bf30e1 /clipboardAdapter.h
parent855d5736c509363dd47e091210f2f3fe64ad9117 (diff)
downloadmonzero-gui-2eddebe1c2c41f8a9be56862f355251d5d34f18f.tar.gz
monzero-gui-2eddebe1c2c41f8a9be56862f355251d5d34f18f.tar.xz
monzero-gui-2eddebe1c2c41f8a9be56862f355251d5d34f18f.zip
https://trello.com/c/LXEnXYLF/42-fix-monero-logo
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
Diffstat (limited to 'clipboardAdapter.h')
-rw-r--r--clipboardAdapter.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/clipboardAdapter.h b/clipboardAdapter.h
new file mode 100644
index 00000000..239b699a
--- /dev/null
+++ b/clipboardAdapter.h
@@ -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