mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 19:06:55 -05:00
Add DBus support: control keepassxc on desktop events (load database when log in, close all databases when log out)
This commit is contained in:
parent
46c58b3202
commit
e560650bf3
9 changed files with 226 additions and 1 deletions
|
|
@ -37,6 +37,10 @@ class InactivityTimer;
|
|||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
#if defined(Q_OS_LINUX)
|
||||
Q_CLASSINFO("D-Bus Interface", "org.keepassxc.MainWindow")
|
||||
#endif
|
||||
|
||||
public:
|
||||
MainWindow();
|
||||
|
|
@ -62,6 +66,7 @@ public slots:
|
|||
void showYubiKeyPopup();
|
||||
void hideYubiKeyPopup();
|
||||
void bringToFront();
|
||||
void closeAllDatabases();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent* event) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue