Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MainWindowAdaptor.h « gui « src - github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a564f3745043f6c515ea71c3bc611012e3e444b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -c MainWindowAdaptor -a MainWindowAdaptor.h:MainWindowAdaptor.cpp
 * org.keepassxc.MainWindow.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef MAINWINDOWADAPTOR_H
#define MAINWINDOWADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
QT_BEGIN_NAMESPACE
class QByteArray;
template <class T> class QList;
template <class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE

/*
 * Adaptor class for interface org.keepassxc.MainWindow
 */
class MainWindowAdaptor : public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.keepassxc.MainWindow")
    Q_CLASSINFO("D-Bus Introspection",
                ""
                "  <interface name=\"org.keepassxc.MainWindow\">\n"
                "    <method name=\"openDatabase\">\n"
                "      <arg direction=\"in\" type=\"s\" name=\"fileName\"/>\n"
                "      <arg direction=\"in\" type=\"s\" name=\"pw\"/>\n"
                "      <arg direction=\"in\" type=\"s\" name=\"keyFile\"/>\n"
                "    </method>\n"
                "    <method name=\"openDatabase\">\n"
                "      <arg direction=\"in\" type=\"s\" name=\"fileName\"/>\n"
                "      <arg direction=\"in\" type=\"s\" name=\"pw\"/>\n"
                "    </method>\n"
                "    <method name=\"openDatabase\">\n"
                "      <arg direction=\"in\" type=\"s\" name=\"fileName\"/>\n"
                "    </method>\n"
                "    <method name=\"appExit\"/>\n"
                "    <method name=\"lockAllDatabases\"/>\n"
                "    <method name=\"closeAllDatabases\"/>\n"
                "  </interface>\n"
                "")
public:
    MainWindowAdaptor(QObject* parent);
    virtual ~MainWindowAdaptor();

public:
public slots:
    void appExit();
    void closeAllDatabases();
    void lockAllDatabases();
    void openDatabase(const QString& fileName);
    void openDatabase(const QString& fileName, const QString& pw);
    void openDatabase(const QString& fileName, const QString& pw, const QString& keyFile);
signals:
};

#endif