diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-16 14:40:09 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-16 14:40:09 +0200 |
| commit | 2eddebe1c2c41f8a9be56862f355251d5d34f18f (patch) | |
| tree | 4a34053a6d1db2718596b18c262a2b0ab4bf30e1 /clipboardAdapter.cpp | |
| parent | 855d5736c509363dd47e091210f2f3fe64ad9117 (diff) | |
| download | monzero-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.cpp')
| -rw-r--r-- | clipboardAdapter.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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); +} |
