2017-02-10 09:42:18 -05:00
|
|
|
/*
|
2018-01-15 18:49:32 -05:00
|
|
|
* This file was generated by qdbusxml2cpp version 0.8
|
2017-02-10 09:42:18 -05:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2018-01-15 18:49:32 -05:00
|
|
|
#ifndef MAINWINDOWADAPTOR_H
|
|
|
|
#define MAINWINDOWADAPTOR_H
|
2017-02-10 09:42:18 -05:00
|
|
|
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
#include <QtDBus/QtDBus>
|
2018-01-15 18:49:32 -05:00
|
|
|
QT_BEGIN_NAMESPACE
|
2017-02-10 09:42:18 -05:00
|
|
|
class QByteArray;
|
|
|
|
template<class T> class QList;
|
|
|
|
template<class Key, class Value> class QMap;
|
|
|
|
class QString;
|
|
|
|
class QStringList;
|
|
|
|
class QVariant;
|
2018-01-15 18:49:32 -05:00
|
|
|
QT_END_NAMESPACE
|
2017-02-10 09:42:18 -05:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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"
|
2018-01-15 18:49:32 -05:00
|
|
|
" <method name=\"lockAllDatabases\"/>\n"
|
2017-02-10 09:42:18 -05:00
|
|
|
" <method name=\"closeAllDatabases\"/>\n"
|
|
|
|
" </interface>\n"
|
|
|
|
"")
|
|
|
|
public:
|
|
|
|
MainWindowAdaptor(QObject *parent);
|
|
|
|
virtual ~MainWindowAdaptor();
|
|
|
|
|
2018-01-15 18:49:32 -05:00
|
|
|
public:
|
|
|
|
public slots:
|
2017-02-10 09:42:18 -05:00
|
|
|
void appExit();
|
|
|
|
void closeAllDatabases();
|
2018-01-15 18:49:32 -05:00
|
|
|
void lockAllDatabases();
|
2017-02-10 09:42:18 -05:00
|
|
|
void openDatabase(const QString &fileName);
|
|
|
|
void openDatabase(const QString &fileName, const QString &pw);
|
|
|
|
void openDatabase(const QString &fileName, const QString &pw, const QString &keyFile);
|
2018-01-15 18:49:32 -05:00
|
|
|
signals:
|
2017-02-10 09:42:18 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|