diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/distributionlist.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/distributionlist.h')
-rw-r--r-- | libkdepim/distributionlist.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdepim/distributionlist.h b/libkdepim/distributionlist.h index 74ba0b4a4..06b720b03 100644 --- a/libkdepim/distributionlist.h +++ b/libkdepim/distributionlist.h @@ -52,17 +52,17 @@ class DistributionList : public KABC::Addressee */ struct Entry { - typedef QValueList<Entry> List; + typedef TQValueList<Entry> 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<DistributionList> List; + typedef TQValueList<DistributionList> 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<DistributionList> allDistributionLists( KABC::AddressBook* book ); + static TQValueList<DistributionList> allDistributionLists( KABC::AddressBook* book ); private: |