summaryrefslogtreecommitdiffstats
path: root/kmail/keyresolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/keyresolver.h')
-rw-r--r--kmail/keyresolver.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kmail/keyresolver.h b/kmail/keyresolver.h
index 8cb7ebbb1..1232d560c 100644
--- a/kmail/keyresolver.h
+++ b/kmail/keyresolver.h
@@ -143,12 +143,12 @@ namespace Kleo {
signPref( UnknownSigningPreference ),
format( AutoFormat ),
needKeys( true ) {}
- Item( const QString & a,
+ Item( const TQString & a,
EncryptionPreference e, SigningPreference s,
CryptoMessageFormat f )
: KeyApprovalDialog::Item( a, std::vector<GpgME::Key>(), e ),
signPref( s ), format( f ), needKeys( true ) {}
- Item( const QString & a, const std::vector<GpgME::Key> & k,
+ Item( const TQString & a, const std::vector<GpgME::Key> & k,
EncryptionPreference e, SigningPreference s,
CryptoMessageFormat f )
: KeyApprovalDialog::Item( a, k, e ),
@@ -165,22 +165,22 @@ namespace Kleo {
self. Also looks them up and complains if they're not usable or
found.
*/
- Kpgp::Result setEncryptToSelfKeys( const QStringList & fingerprints );
+ Kpgp::Result setEncryptToSelfKeys( const TQStringList & fingerprints );
/**
Set the fingerprints of keys to be used for signing. Also
looks them up and complains if they're not usable or found.
*/
- Kpgp::Result setSigningKeys( const QStringList & fingerprints );
+ Kpgp::Result setSigningKeys( const TQStringList & fingerprints );
/**
Set the list of primary (To/CC) recipient addresses. Also looks
up possible keys, but doesn't interact with the user.
*/
- void setPrimaryRecipients( const QStringList & addresses );
+ void setPrimaryRecipients( const TQStringList & addresses );
/**
Set the list of secondary (BCC) recipient addresses. Also looks
up possible keys, but doesn't interact with the user.
*/
- void setSecondaryRecipients( const QStringList & addresses );
+ void setSecondaryRecipients( const TQStringList & addresses );
/**
@@ -210,10 +210,10 @@ namespace Kleo {
struct SplitInfo {
SplitInfo() {}
- SplitInfo( const QStringList & r ) : recipients( r ) {}
- SplitInfo( const QStringList & r, const std::vector<GpgME::Key> & k )
+ SplitInfo( const TQStringList & r ) : recipients( r ) {}
+ SplitInfo( const TQStringList & r, const std::vector<GpgME::Key> & k )
: recipients( r ), keys( k ) {}
- QStringList recipients;
+ TQStringList recipients;
std::vector<GpgME::Key> keys;
};
/** @return the found distinct sets of items for format \a f. The
@@ -224,8 +224,8 @@ namespace Kleo {
private:
void dump() const;
- std::vector<Item> getEncryptionItems( const QStringList & recipients );
- std::vector<GpgME::Key> getEncryptionKeys( const QString & recipient, bool quiet ) const;
+ std::vector<Item> getEncryptionItems( const TQStringList & recipients );
+ std::vector<GpgME::Key> getEncryptionKeys( const TQString & recipient, bool quiet ) const;
Kpgp::Result showKeyApprovalDialog();
@@ -242,19 +242,19 @@ namespace Kleo {
void addToAllSplitInfos( const std::vector<GpgME::Key> & keys, unsigned int formats );
void addKeys( const std::vector<Item> & items, CryptoMessageFormat f );
void addKeys( const std::vector<Item> & items );
- QStringList allRecipients() const;
+ TQStringList allRecipients() const;
std::vector<GpgME::Key> signingKeysFor( CryptoMessageFormat f ) const;
std::vector<GpgME::Key> encryptToSelfKeysFor( CryptoMessageFormat f ) const;
- std::vector<GpgME::Key> lookup( const QStringList & patterns, bool secret=false ) const;
+ std::vector<GpgME::Key> lookup( const TQStringList & patterns, bool secret=false ) const;
- bool haveTrustedEncryptionKey( const QString & person ) const;
+ bool haveTrustedEncryptionKey( const TQString & person ) const;
- std::vector<GpgME::Key> selectKeys( const QString & person, const QString & msg,
+ std::vector<GpgME::Key> selectKeys( const TQString & person, const TQString & msg,
const std::vector<GpgME::Key> & selectedKeys=std::vector<GpgME::Key>() ) const;
- QStringList keysForAddress( const QString & address ) const;
- void setKeysForAddress( const QString & address, const QStringList& pgpKeyFingerprints, const QStringList& smimeCertFingerprints ) const;
+ TQStringList keysForAddress( const TQString & address ) const;
+ void setKeysForAddress( const TQString & address, const TQStringList& pgpKeyFingerprints, const TQStringList& smimeCertFingerprints ) const;
bool encryptToSelf() const { return mEncryptToSelf; }
bool showApprovalDialog() const { return mShowApprovalDialog; }
@@ -285,12 +285,12 @@ namespace Kleo {
Kleo::EncryptionPreference encryptionPreference;
Kleo::SigningPreference signingPreference;
Kleo::CryptoMessageFormat cryptoMessageFormat;
- QStringList pgpKeyFingerprints;
- QStringList smimeCertFingerprints;
+ TQStringList pgpKeyFingerprints;
+ TQStringList smimeCertFingerprints;
};
- ContactPreferences lookupContactPreferences( const QString& address ) const;
- void saveContactPreference( const QString& email, const ContactPreferences& pref ) const;
+ ContactPreferences lookupContactPreferences( const TQString& address ) const;
+ void saveContactPreference( const TQString& email, const ContactPreferences& pref ) const;
private:
class EncryptionPreferenceCounter;