summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell-plugins/KeePassXC.hpp
blob: c4cd71e08c357a625f8216ee40b021991b16f7ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "dbus_keepassxc.h"

#include <QObject>
#include <QtQmlIntegration/qqmlintegration.h>

class KeePassXC : public QObject {
  Q_OBJECT;
  QML_SINGLETON;
  QML_ELEMENT;

public:
  explicit KeePassXC();
  ~KeePassXC();

  Q_INVOKABLE void lockAllDatabases();

private:
  DBusKeePassXC* service = nullptr;
};