Blame lang/qt/src/qgpgmechangeexpiryjob.h

Packit Service 672cf4
/*
Packit Service 672cf4
    qgpgmechangeexpiryjob.h
Packit Service 672cf4
Packit Service 672cf4
    This file is part of qgpgme, the Qt API binding for gpgme
Packit Service 672cf4
    Copyright (c) 2008 Klarälvdalens Datakonsult AB
Packit Service 672cf4
    Copyright (c) 2016 by Bundesamt für Sicherheit in der Informationstechnik
Packit Service 672cf4
    Software engineering by Intevation GmbH
Packit Service 672cf4
Packit Service 672cf4
    QGpgME is free software; you can redistribute it and/or
Packit Service 672cf4
    modify it under the terms of the GNU General Public License as
Packit Service 672cf4
    published by the Free Software Foundation; either version 2 of the
Packit Service 672cf4
    License, or (at your option) any later version.
Packit Service 672cf4
Packit Service 672cf4
    QGpgME is distributed in the hope that it will be useful,
Packit Service 672cf4
    but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 672cf4
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 672cf4
    General Public License for more details.
Packit Service 672cf4
Packit Service 672cf4
    You should have received a copy of the GNU General Public License
Packit Service 672cf4
    along with this program; if not, write to the Free Software
Packit Service 672cf4
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit Service 672cf4
Packit Service 672cf4
    In addition, as a special exception, the copyright holders give
Packit Service 672cf4
    permission to link the code of this program with any edition of
Packit Service 672cf4
    the Qt library by Trolltech AS, Norway (or with modified versions
Packit Service 672cf4
    of Qt that use the same license as Qt), and distribute linked
Packit Service 672cf4
    combinations including the two.  You must obey the GNU General
Packit Service 672cf4
    Public License in all respects for all of the code used other than
Packit Service 672cf4
    Qt.  If you modify this file, you may extend this exception to
Packit Service 672cf4
    your version of the file, but you are not obligated to do so.  If
Packit Service 672cf4
    you do not wish to do so, delete this exception statement from
Packit Service 672cf4
    your version.
Packit Service 672cf4
*/
Packit Service 672cf4
Packit Service 672cf4
#ifndef __QGPGME_QGPGMECHANGEEXPIRYJOB_H__
Packit Service 672cf4
#define __QGPGME_QGPGMECHANGEEXPIRYJOB_H__
Packit Service 672cf4
Packit Service 672cf4
#include "changeexpiryjob.h"
Packit Service 672cf4
Packit Service 672cf4
#include "threadedjobmixin.h"
Packit Service 672cf4
Packit Service 672cf4
namespace QGpgME
Packit Service 672cf4
{
Packit Service 672cf4
Packit Service 672cf4
class QGpgMEChangeExpiryJob
Packit Service 672cf4
#ifdef Q_MOC_RUN
Packit Service 672cf4
    : public ChangeExpiryJob
Packit Service 672cf4
#else
Packit Service 672cf4
    : public _detail::ThreadedJobMixin<ChangeExpiryJob>
Packit Service 672cf4
#endif
Packit Service 672cf4
{
Packit Service 672cf4
    Q_OBJECT
Packit Service 672cf4
#ifdef Q_MOC_RUN
Packit Service 672cf4
private Q_SLOTS:
Packit Service 672cf4
    void slotFinished();
Packit Service 672cf4
#endif
Packit Service 672cf4
public:
Packit Service 672cf4
    explicit QGpgMEChangeExpiryJob(GpgME::Context *context);
Packit Service 672cf4
    ~QGpgMEChangeExpiryJob();
Packit Service 672cf4
Packit Service 672cf4
    /* from ChangeExpiryJob */
Packit Service 672cf4
    GpgME::Error start(const GpgME::Key &key, const QDateTime &expiry) Q_DECL_OVERRIDE;
Packit Service 672cf4
};
Packit Service 672cf4
Packit Service 672cf4
}
Packit Service 672cf4
Packit Service 672cf4
#endif // __QGPGME_QGPGMECHANGEEXPIRYJOB_H__