#include "KeePassXC.hpp" #include 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(); }