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

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdosecrets/FdoSecretsPlugin.h')
-rw-r--r--src/fdosecrets/FdoSecretsPlugin.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/fdosecrets/FdoSecretsPlugin.h b/src/fdosecrets/FdoSecretsPlugin.h
index 828c0bd76..d0008b80a 100644
--- a/src/fdosecrets/FdoSecretsPlugin.h
+++ b/src/fdosecrets/FdoSecretsPlugin.h
@@ -18,7 +18,7 @@
#ifndef KEEPASSXC_FDOSECRETSPLUGIN_H
#define KEEPASSXC_FDOSECRETSPLUGIN_H
-#include "core/FilePath.h"
+#include "core/Resources.h"
#include "gui/ApplicationSettingsWidget.h"
#include <QPointer>
@@ -45,7 +45,7 @@ public:
QIcon icon() override
{
- return FilePath::instance()->icon("apps", "freedesktop");
+ return Resources::instance()->icon("freedesktop");
}
QWidget* createWidget() override;
@@ -64,6 +64,15 @@ public:
*/
DatabaseTabWidget* dbTabs() const;
+ /**
+ * Check the running secret service and returns info about it
+ * @return html string suitable to be shown in the UI
+ */
+ QString reportExistingService() const;
+
+ // TODO: Only used for testing. Need to split service functions away from settings page.
+ static FdoSecretsPlugin* getPlugin();
+
public slots:
void emitRequestSwitchToDatabases();
void emitRequestShowNotification(const QString& msg, const QString& title = {});