diff --git a/src/commands/importcertificatescommand.h b/src/commands/importcertificatescommand.h index ab591a050..0e130e2fe 100644 --- a/src/commands/importcertificatescommand.h +++ b/src/commands/importcertificatescommand.h @@ -1,39 +1,43 @@ /* -*- mode: c++; c-basic-offset:4 -*- commands/importcertificatescommand.h This file is part of Kleopatra, the KDE keymanager SPDX-FileCopyrightText: 2007, 2008 Klarälvdalens Datakonsult AB SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include "command.h" namespace Kleo { class ImportCertificatesCommand : public Command { Q_OBJECT public: explicit ImportCertificatesCommand(KeyListController *parent); explicit ImportCertificatesCommand(QAbstractItemView *view, KeyListController *parent); ~ImportCertificatesCommand() override; protected: void doCancel() override; protected: class Private; inline Private *d_func(); inline const Private *d_func() const; +#ifdef QGPGME_SUPPORTS_RECEIVING_KEYS_BY_KEY_ID + Q_PRIVATE_SLOT(d_func(), void importResult(GpgME::ImportResult)) +#endif + protected: explicit ImportCertificatesCommand(Private *pp); explicit ImportCertificatesCommand(QAbstractItemView *view, Private *pp); }; }