|
mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
|
Clipboard integration with KDE-first and Qt fallback behavior. More...
#include <QClipboard>#include <QObject>#include <QString>Go to the source code of this file.
Classes | |
| class | ClipboardWriter |
| Copies transcription text to the clipboard. More... | |
Functions | |
| QString | clipboardBackendName (bool hasSystemClipboard, bool hasQtClipboard) |
| Reports the clipboard backend name from backend availability flags. | |
| bool | clipboardRoundTripSucceeded (const QString &requestedText, const QString &actualText) |
| Reports whether a clipboard round-trip returned the requested text. | |
Clipboard integration with KDE-first and Qt fallback behavior.
Definition in file clipboardwriter.h.
| QString clipboardBackendName | ( | bool | hasSystemClipboard, |
| bool | hasQtClipboard | ||
| ) |
Reports the clipboard backend name from backend availability flags.
| hasSystemClipboard | Whether KDE system clipboard support is available. |
| hasQtClipboard | Whether a Qt clipboard instance is available. |
| bool clipboardRoundTripSucceeded | ( | const QString & | requestedText, |
| const QString & | actualText | ||
| ) |
Reports whether a clipboard round-trip returned the requested text.
| requestedText | Text the application attempted to write. |
| actualText | Text read back from the clipboard backend. |
true when the backend readback matches the requested text exactly.