summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkpgp/kpgpkey.cpp')
-rw-r--r--libkpgp/kpgpkey.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkpgp/kpgpkey.cpp b/libkpgp/kpgpkey.cpp
index d0d2e4ec3..8a8ed48b8 100644
--- a/libkpgp/kpgpkey.cpp
+++ b/libkpgp/kpgpkey.cpp
@@ -23,23 +23,23 @@ namespace Kpgp {
/* member functions of Kpgp::KeyIDList --------------------------------- */
-/** Converts from a KeyIDList to a QStringList.
+/** Converts from a KeyIDList to a TQStringList.
*/
-QStringList KeyIDList::toStringList() const
+TQStringList KeyIDList::toStringList() const
{
- QStringList res;
+ TQStringList res;
for( KeyIDList::ConstIterator it = begin(); it != end(); ++it ) {
res << (*it).data();
}
return res;
}
-/** Converts from a QStringList to a KeyIDList.
+/** Converts from a TQStringList to a KeyIDList.
*/
-KeyIDList KeyIDList::fromStringList( const QStringList& l )
+KeyIDList KeyIDList::fromStringList( const TQStringList& l )
{
KeyIDList res;
- for( QStringList::ConstIterator it = l.begin(); it != l.end(); ++it ) {
+ for( TQStringList::ConstIterator it = l.begin(); it != l.end(); ++it ) {
res << (*it).local8Bit();
}
return res;
@@ -47,7 +47,7 @@ KeyIDList KeyIDList::fromStringList( const QStringList& l )
/* member functions of Kpgp::UserID ------------------------------------ */
-UserID::UserID(const QString& str, const Validity validity,
+UserID::UserID(const TQString& str, const Validity validity,
const bool revoked, const bool invalid)
{
mText = str;
@@ -81,7 +81,7 @@ Subkey::Subkey(const KeyID& keyID, const bool secret)
/* member functions of Kpgp::Key --------------------------------------- */
-Key::Key(const KeyID& keyid, const QString& uid, const bool secret) :
+Key::Key(const KeyID& keyid, const TQString& uid, const bool secret) :
mSubkeys(), mUserIDs()
{
mSecret = secret;
@@ -145,7 +145,7 @@ Key::keyTrust() const
}
Validity
-Key::keyTrust( const QString& uid ) const
+Key::keyTrust( const TQString& uid ) const
{
Validity trust = KPGP_VALIDITY_UNKNOWN;
@@ -194,7 +194,7 @@ Key::isValidSigningKey() const
}
-void Key::addUserID(const QString &uid, const Validity validity,
+void Key::addUserID(const TQString &uid, const Validity validity,
const bool revoked, const bool invalid)
{
if (!uid.isEmpty()) {
@@ -203,7 +203,7 @@ void Key::addUserID(const QString &uid, const Validity validity,
}
}
-bool Key::matchesUserID(const QString& str, bool cs)
+bool Key::matchesUserID(const TQString& str, bool cs)
{
if (str.isEmpty() || mUserIDs.isEmpty())
return false;
@@ -246,7 +246,7 @@ Subkey *Key::getSubkey(const KeyID& keyID)
return 0;
}
-void Key::setFingerprint(const KeyID& keyID, const QCString &fpr)
+void Key::setFingerprint(const KeyID& keyID, const TQCString &fpr)
{
Subkey *key;
if ((key = getSubkey(keyID)) != 0) {