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 --- libkdepim/distributionlist.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libkdepim/distributionlist.h') diff --git a/libkdepim/distributionlist.h b/libkdepim/distributionlist.h index 74ba0b4a..06b720b0 100644 --- a/libkdepim/distributionlist.h +++ b/libkdepim/distributionlist.h @@ -52,17 +52,17 @@ class DistributionList : public KABC::Addressee */ struct Entry { - typedef QValueList List; + typedef TQValueList List; Entry() {} - Entry( const Addressee &_addressee, const QString &_email ) : + Entry( const Addressee &_addressee, const TQString &_email ) : addressee( _addressee ), email( _email ) {} Addressee addressee; - QString email; + TQString email; }; - typedef QValueList List; + typedef TQValueList List; /** * Create a distribution list. @@ -80,27 +80,27 @@ class DistributionList : public KABC::Addressee ~DistributionList() {} /// HACK: reimplemented from Addressee, but it's NOT virtual there - void setName( const QString &name ); + void setName( const TQString &name ); /// HACK: reimplemented from Addressee, but it's NOT virtual there - QString name() const { return formattedName(); } + TQString name() const { return formattedName(); } /** Insert an entry into this distribution list. If the entry already exists nothing happens. */ - void insertEntry( const Addressee &, const QString &email=QString::null ); + void insertEntry( const Addressee &, const TQString &email=TQString::null ); /** Remove an entry from this distribution list. If the entry doesn't exist nothing happens. */ - void removeEntry( const Addressee &, const QString &email=QString::null ); + void removeEntry( const Addressee &, const TQString &email=TQString::null ); /// Overload, used by resources to avoid looking up the addressee - void insertEntry( const QString& uid, const QString& email=QString::null ); + void insertEntry( const TQString& uid, const TQString& email=TQString::null ); /// Overload, used by resources to avoid looking up the addressee - void removeEntry( const QString& uid, const QString& email=QString::null ); + void removeEntry( const TQString& uid, const TQString& email=TQString::null ); /** @@ -108,7 +108,7 @@ class DistributionList : public KABC::Addressee These addresses can be directly used by e.g. a mail client. @param book necessary to look up entries */ - QStringList emails( KABC::AddressBook* book ) const; + TQStringList emails( KABC::AddressBook* book ) const; /** Return list of entries belonging to this distribution list. This function @@ -122,12 +122,12 @@ class DistributionList : public KABC::Addressee // KDE4: should be a method of AddressBook static DistributionList findByName( KABC::AddressBook* book, - const QString& name, + const TQString& name, bool caseSensitive = true ); // KDE4: should be a method of AddressBook // A bit slow (but no more than findByName). // From KAddressbook, use Core::distributionLists() instead. - static QValueList allDistributionLists( KABC::AddressBook* book ); + static TQValueList allDistributionLists( KABC::AddressBook* book ); private: -- cgit v1.2.3