|
QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
|
#include <qtpass.h>
Public Slots | |
| void | clearClipboard () |
| MainWindow::clearClipboard remove clipboard contents. | |
| void | copyTextToClipboard (const QString &text) |
| MainWindow::copyTextToClipboard copies text to your clipboard. | |
| void | showTextAsQRCode (const QString &text) |
| displays the text as qrcode | |
Public Member Functions | |
| QtPass (MainWindow *mainWindow) | |
| Constructs a QtPass instance. | |
| ~QtPass () | |
| QtPass::~QtPass destroy! | |
| auto | init () -> bool |
| QtPass::init make sure we are ready to go as soon as possible. | |
| void | setClippedText (const QString &, const QString &p_output=QString()) |
| Sets the text to be stored in clipboard and handles clipboard operations. | |
| void | clearClippedText () |
| Clears the stored clipped text. | |
| void | setClipboardTimer () |
| Sets the clipboard clear timer based on autoclear settings. | |
| auto | isFreshStart () -> bool |
| void | setFreshStart (const bool &fs) |
Static Public Member Functions | |
| static QDialog * | createQRCodePopup (const QPixmap &image) |
| QtPass::createQRCodePopup creates a popup dialog with the given QR code image. This is extracted for testability. The caller is responsible for showing and managing the popup lifecycle. | |
| QtPass::QtPass | ( | MainWindow * | mainWindow | ) |
Constructs a QtPass instance.
| mainWindow | The main window reference |
Definition at line 36 of file qtpass.cpp.
| QtPass::~QtPass | ( | ) |
QtPass::~QtPass destroy!
Definition at line 59 of file qtpass.cpp.
|
slot |
MainWindow::clearClipboard remove clipboard contents.
Definition at line 451 of file qtpass.cpp.
| void QtPass::clearClippedText | ( | ) |
Clears the stored clipped text.
Definition at line 438 of file qtpass.cpp.
|
slot |
MainWindow::copyTextToClipboard copies text to your clipboard.
| text |
Definition at line 499 of file qtpass.cpp.
|
static |
QtPass::createQRCodePopup creates a popup dialog with the given QR code image. This is extracted for testability. The caller is responsible for showing and managing the popup lifecycle.
| image | The QR code pixmap to display |
Definition at line 549 of file qtpass.cpp.
| auto QtPass::init | ( | ) | -> bool |
QtPass::init make sure we are ready to go as soon as possible.
Definition at line 76 of file qtpass.cpp.
| void QtPass::setClipboardTimer | ( | ) |
Sets the clipboard clear timer based on autoclear settings.
Definition at line 443 of file qtpass.cpp.
| void QtPass::setClippedText | ( | const QString & | password, |
| const QString & | p_output = QString() ) |
Sets the text to be stored in clipboard and handles clipboard operations.
| password | The password or text to store |
| p_output | Additional output text |
Definition at line 426 of file qtpass.cpp.
|
slot |
displays the text as qrcode
| text |
Definition at line 521 of file qtpass.cpp.