blob: f6e4dd6e073eeabd36549afe7ba6ba7fb3c01fb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "KeePassXC.hpp"
#include <QDBusConnection>
KeePassXC::KeePassXC() {
this->service = new DBusKeePassXC(DBusKeePassXC::staticInterfaceName(), "/keepassxc", QDBusConnection::sessionBus(), this);
}
KeePassXC::~KeePassXC() {
if (this->service)
delete this->service;
}
void KeePassXC::lockAllDatabases() {
if (!this->service)
return;
this->service->lockAllDatabases();
}
|