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

0001 /* -*- mode: c++; c-basic-offset:4 -*-
0002     commands/importcertificatescommand.h
0003 
0004     This file is part of Kleopatra, the KDE keymanager
0005     SPDX-FileCopyrightText: 2007, 2008 Klarälvdalens Datakonsult AB
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #pragma once
0011 
0012 #include "command.h"
0013 
0014 namespace Kleo
0015 {
0016 
0017 class ImportCertificatesCommand : public Command
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit ImportCertificatesCommand(KeyListController *parent);
0022     explicit ImportCertificatesCommand(QAbstractItemView *view, KeyListController *parent);
0023     ~ImportCertificatesCommand() override;
0024 
0025 protected:
0026     void doCancel() override;
0027 
0028 protected:
0029     class Private;
0030     inline Private *d_func();
0031     inline const Private *d_func() const;
0032 
0033 protected:
0034     explicit ImportCertificatesCommand(Private *pp);
0035     explicit ImportCertificatesCommand(QAbstractItemView *view, Private *pp);
0036 };
0037 }