Wrapper on QApplication::clipboard() with convenience appliances. More...
#include <clipboard.h>
Static Public Member Functions | |
static void | setText (const QString &text) |
Sets text both in clipboard and selection modes. More... | |
Wrapper on QApplication::clipboard() with convenience appliances.
Definition at line 31 of file clipboard.h.
|
static |
Sets text both in clipboard and selection modes.
Calling this method is useful when programming custom "Copy" actions. See this text for good explanation: https://specifications.freedesktop.org/clipboards-spec/clipboards-latest.txt
Definition at line 28 of file clipboard.cpp.