libkleo
Go to the documentation of this file.
49 #ifndef __KLEO_UI_KEYREQUESTER_H__
50 #define __KLEO_UI_KEYREQUESTER_H__
77 explicit KeyRequester(
unsigned int allowedKeys,
bool multipleKeys=
false,
83 const GpgME::Key & key()
const;
88 void setKey(
const GpgME::Key & key );
90 const std::vector<GpgME::Key> & keys()
const;
94 void setKeys(
const std::vector<GpgME::Key> & keys );
100 void setFingerprint(
const QString & fingerprint );
102 QStringList fingerprints()
const;
106 void setFingerprints(
const QStringList & fingerprints );
109 QPushButton * eraseButton();
110 QPushButton * dialogButton();
112 void setDialogCaption(
const QString & caption );
113 void setDialogMessage(
const QString & message );
115 bool isMultipleKeysEnabled()
const;
116 void setMultipleKeysEnabled(
bool enable );
118 unsigned int allowedKeys()
const;
119 void setAllowedKeys(
unsigned int allowed );
129 void startKeyListJob(
const QStringList & fingerprints );
133 void slotNextKey(
const GpgME::Key & key );
134 void slotKeyListResult(
const GpgME::KeyListResult & result );
135 void slotDialogButtonClicked();
136 void slotEraseButtonClicked();
142 QPushButton * mEraseButton;
143 QPushButton * mDialogButton;
144 QString mDialogCaption, mDialogMessage, mInitialQuery;
146 unsigned int mKeyUsage;
148 std::vector<GpgME::Key> mKeys;
149 std::vector<GpgME::Key> mTmpKeys;
155 virtual void virtual_hook(
int,
void* );
162 enum { OpenPGP = 1, SMIME = 2, AllProtocols = OpenPGP|SMIME };
168 unsigned int proto=AllProtocols,
170 bool onlyTrusted=
true,
171 bool onlyValid=
true );
178 void setAllowedKeys(
unsigned int proto,
bool onlyTrusted=
true,
bool onlyValid=
true );
184 virtual void virtual_hook(
int,
void* );
191 enum { OpenPGP = 1, SMIME = 2, AllProtocols = OpenPGP|SMIME };
202 unsigned int proto=AllProtocols,
204 bool onlyTrusted=
true,
bool onlyValid=
true );
217 void setAllowedKeys(
unsigned int proto,
bool onlyTrusted=
true,
bool onlyValid=
true );
223 virtual void virtual_hook(
int,
void* );
228 #endif // __KLEO_UI_KEYREQUESTER_H__
void setInitialQuery(const QString &s)
const QString & initialQuery() const
Base class for SigningKeyRequester and EncryptionKeyRequester.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:48 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.