kgpg
#include <kgpgchangeexpire.h>

Public Member Functions | |
KGpgChangeExpire (QObject *parent, const QString &keyid, const QDateTime &date) | |
virtual | ~KGpgChangeExpire () |
void | setDate (const QDateTime &date) |
![]() | |
virtual | ~KGpgEditKeyTransaction () |
QString | getKeyid () const |
![]() | |
KGpgTransaction (QObject *parent=0, const bool allowChaining=false) | |
virtual | ~KGpgTransaction () |
void | clearInputTransaction () |
const QString & | getDescription () const |
bool | hasInputTransaction () const |
void | kill () |
void | setGnuPGHome (const QString &home) |
void | setInputTransaction (KGpgTransaction *ta) |
void | start () |
int | waitForFinished (const int msecs=-1) |
Protected Member Functions | |
virtual bool | nextLine (const QString &line) |
![]() | |
KGpgEditKeyTransaction (QObject *parent, const QString &keyid, const QString &command, const bool hasValue, const bool autoSave=true) | |
virtual ts_boolanswer | boolQuestion (const QString &line) |
virtual bool | preStart () |
void | replaceCommand (const QString &cmd) |
void | replaceValue (const QString &arg) |
![]() | |
int | addArgument (const QString &arg) |
void | addArgumentRef (int *ref) |
int | addArguments (const QStringList &args) |
void | addIdHint (QString txt) |
void | askNewPassphrase (const QString &text) |
bool | askPassphrase (const QString &message=QString()) |
virtual ts_boolanswer | confirmOverwrite (KUrl ¤tFile) |
virtual void | finish () |
QString | getIdHints () const |
GPGProc * | getProcess () |
int | getSuccess () const |
virtual bool | hintLine (const ts_hintType hint, const QString &args) |
void | insertArgument (const int pos, const QString &arg) |
void | insertArguments (const int pos, const QStringList &args) |
virtual void | newPassphraseEntered () |
virtual bool | passphraseReceived () |
virtual bool | passphraseRequested () |
virtual void | postStart () |
void | replaceArgument (const int pos, const QString &arg) |
void | setDescription (const QString &description) |
void | setSuccess (const int v) |
void | unexpectedLine (const QString &line) |
void | waitForInputTransaction () |
void | write (const QByteArray &a, const bool lf=true) |
void | write (const int i) |
Additional Inherited Members | |
![]() | |
enum | ts_boolanswer { BA_UNKNOWN = 0, BA_YES = 1, BA_NO = 2 } |
enum | ts_hintType { HT_KEYEXPIRED = 0, HT_SIGEXPIRED = 1, HT_NOSECKEY = 2, HT_ENCTO = 3 } |
enum | ts_transaction { TS_OK = 0, TS_BAD_PASSPHRASE = 1, TS_MSG_SEQUENCE = 2, TS_USER_ABORTED = 3, TS_INVALID_EMAIL = 4, TS_INPUT_PROCESS_ERROR = 5, TS_COMMON_END = 100 } |
![]() | |
void | done (int result) |
void | infoProgress (qulonglong processedAmount, qulonglong totalAmount) |
void | statusMessage (const QString &msg) |
Detailed Description
change the key lifetime
Definition at line 25 of file kgpgchangeexpire.h.
Constructor & Destructor Documentation
KGpgChangeExpire::KGpgChangeExpire | ( | QObject * | parent, |
const QString & | keyid, | ||
const QDateTime & | date | ||
) |
Definition at line 21 of file kgpgchangeexpire.cpp.
|
virtual |
Definition at line 27 of file kgpgchangeexpire.cpp.
Member Function Documentation
|
protectedvirtual |
handle standard GnuPG prompts
- Parameters
-
line the line to handle
By default this handles passphrase questions and quits the operation when GnuPG returns to it's command prompt. The "GOOD_PASSPHRASE" line is not handled here. When you inherit this class and need to handle specific line do them first and then call this method at the end of your method to handle all standard things (if you don't want to handle them yourself). Every line sent here by GnuPG not recognised as command handled here will set a sequence error so be sure to handle your stuff first!
Reimplemented from KGpgEditKeyTransaction.
Definition at line 32 of file kgpgchangeexpire.cpp.
void KGpgChangeExpire::setDate | ( | const QDateTime & | date | ) |
Definition at line 54 of file kgpgchangeexpire.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.