From 2eddebe1c2c41f8a9be56862f355251d5d34f18f Mon Sep 17 00:00:00 2001 From: marcin Date: Wed, 16 Jul 2014 14:40:09 +0200 Subject: 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 --- clipboardAdapter.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 clipboardAdapter.cpp (limited to 'clipboardAdapter.cpp') diff --git a/clipboardAdapter.cpp b/clipboardAdapter.cpp new file mode 100644 index 00000000..1d5d2d71 --- /dev/null +++ b/clipboardAdapter.cpp @@ -0,0 +1,12 @@ +#include "clipboardAdapter.h" + +clipboardAdapter::clipboardAdapter(QObject *parent) : + QObject(parent) +{ + m_pClipboard = QGuiApplication::clipboard(); +} + +void clipboardAdapter::setText(const QString &text) { + m_pClipboard->setText(text, QClipboard::Clipboard); + m_pClipboard->setText(text, QClipboard::Selection); +} -- cgit v1.2.3