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

0001 /* -*- mode: c++; c-basic-offset:4 -*-
0002     commands/refreshcertificatecommand.h
0003 
0004     This file is part of Kleopatra, the KDE keymanager
0005     SPDX-FileCopyrightText: 2022 g10 Code GmbH
0006     SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #pragma once
0012 
0013 #include "command.h"
0014 
0015 namespace Kleo
0016 {
0017 class RefreshCertificateCommand : public Command
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit RefreshCertificateCommand(const GpgME::Key &key);
0022     ~RefreshCertificateCommand() override;
0023 
0024 private:
0025     void doStart() override;
0026     void doCancel() override;
0027 
0028 private:
0029     class Private;
0030     inline Private *d_func();
0031     inline const Private *d_func() const;
0032 };
0033 }