From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/keyresolver.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kmail/keyresolver.h') 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(), e ), signPref( s ), format( f ), needKeys( true ) {} - Item( const QString & a, const std::vector & k, + Item( const TQString & a, const std::vector & 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 & k ) + SplitInfo( const TQStringList & r ) : recipients( r ) {} + SplitInfo( const TQStringList & r, const std::vector & k ) : recipients( r ), keys( k ) {} - QStringList recipients; + TQStringList recipients; std::vector 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 getEncryptionItems( const QStringList & recipients ); - std::vector getEncryptionKeys( const QString & recipient, bool quiet ) const; + std::vector getEncryptionItems( const TQStringList & recipients ); + std::vector getEncryptionKeys( const TQString & recipient, bool quiet ) const; Kpgp::Result showKeyApprovalDialog(); @@ -242,19 +242,19 @@ namespace Kleo { void addToAllSplitInfos( const std::vector & keys, unsigned int formats ); void addKeys( const std::vector & items, CryptoMessageFormat f ); void addKeys( const std::vector & items ); - QStringList allRecipients() const; + TQStringList allRecipients() const; std::vector signingKeysFor( CryptoMessageFormat f ) const; std::vector encryptToSelfKeysFor( CryptoMessageFormat f ) const; - std::vector lookup( const QStringList & patterns, bool secret=false ) const; + std::vector lookup( const TQStringList & patterns, bool secret=false ) const; - bool haveTrustedEncryptionKey( const QString & person ) const; + bool haveTrustedEncryptionKey( const TQString & person ) const; - std::vector selectKeys( const QString & person, const QString & msg, + std::vector selectKeys( const TQString & person, const TQString & msg, const std::vector & selectedKeys=std::vector() ) 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; -- cgit v1.2.1