|
QtPass 2.0.0
Developer documentation
|
ClipboardManager, which puts secrets on the clipboard and removes them again, and the MIME data that marks them as secrets. More...
#include <QMimeData>#include <QObject>#include <QString>#include <QStringList>#include <QTimer>#include <optional>Go to the source code of this file.
Classes | |
| class | ClipboardManager |
| Puts secrets on the system clipboard and takes them off again. More... | |
Functions | |
| auto | buildClipboardMimeData (const QString &text) -> QMimeData * |
| Build clipboard MIME data with platform-specific security hints. | |
| static auto | dwordBytes (quint32 value) -> QByteArray |
| Convert quint32 to byte array for Windows clipboard formats. | |
ClipboardManager, which puts secrets on the clipboard and removes them again, and the MIME data that marks them as secrets.
Definition in file clipboardmanager.h.
| auto buildClipboardMimeData | ( | const QString & | text | ) | -> QMimeData * |
Build clipboard MIME data with platform-specific security hints.
| text | - Plain text to copy |
Definition at line 190 of file clipboardmanager.cpp.
|
inlinestatic |
Convert quint32 to byte array for Windows clipboard formats.
| value | - DWORD value |
Definition at line 31 of file clipboardmanager.h.