• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
  • transactions
kgpgchangeexpire.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008,2009 Rolf Eike Beer <kde@opensource.sf-tec.de>
3  */
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef KGPGCHANGEEXPIRE_H
15 #define KGPGCHANGEEXPIRE_H
16 
17 #include <QObject>
18 #include <QDateTime>
19 
20 #include "kgpgeditkeytransaction.h"
21 
25 class KGpgChangeExpire: public KGpgEditKeyTransaction {
26  Q_OBJECT
27 
28  Q_DISABLE_COPY(KGpgChangeExpire)
29 public:
30  KGpgChangeExpire(QObject *parent, const QString &keyid, const QDateTime &date);
31  virtual ~KGpgChangeExpire();
32 
33  void setDate(const QDateTime &date);
34 
35 protected:
36  virtual bool nextLine(const QString &line);
37 
38 private:
39  QDateTime m_date;
40 };
41 
42 #endif // KGPGCHANGEEXPIRE_H
KGpgEditKeyTransaction
edit a single property of a key
Definition: kgpgeditkeytransaction.h:24
KGpgChangeExpire::setDate
void setDate(const QDateTime &date)
Definition: kgpgchangeexpire.cpp:54
KGpgChangeExpire::KGpgChangeExpire
KGpgChangeExpire(QObject *parent, const QString &keyid, const QDateTime &date)
Definition: kgpgchangeexpire.cpp:21
KGpgChangeExpire::~KGpgChangeExpire
virtual ~KGpgChangeExpire()
Definition: kgpgchangeexpire.cpp:27
QObject
KGpgChangeExpire
change the key lifetime
Definition: kgpgchangeexpire.h:25
QString
KGpgChangeExpire::nextLine
virtual bool nextLine(const QString &line)
handle standard GnuPG prompts
Definition: kgpgchangeexpire.cpp:32
kgpgeditkeytransaction.h
QObject::parent
QObject * parent() const
QDateTime
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal