File indexing completed on 2024-06-23 05:13:47

0001 /* -*- mode: c++; c-basic-offset:4 -*-
0002     conf/cryptooperationsconfigpage.h
0003 
0004     This file is part of Kleopatra, the KDE keymanager
0005     SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #pragma once
0011 #include <KCModule>
0012 #include <kcmutils_version.h>
0013 namespace Kleo
0014 {
0015 namespace Config
0016 {
0017 
0018 class CryptoOperationsConfigWidget;
0019 
0020 /**
0021  * "Crypto Operations" configuration page for kleopatra's configuration dialog
0022  */
0023 class CryptoOperationsConfigurationPage : public KCModule
0024 {
0025     Q_OBJECT
0026 public:
0027     explicit CryptoOperationsConfigurationPage(QObject *parent, const KPluginMetaData &data = {});
0028 
0029     void load() override;
0030     void save() override;
0031     void defaults() override;
0032 
0033 private:
0034     CryptoOperationsConfigWidget *mWidget = nullptr;
0035 };
0036 
0037 }
0038 }