summaryrefslogtreecommitdiffstats
path: root/libkdepim/distributionlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/distributionlist.h')
-rw-r--r--libkdepim/distributionlist.h26
1 files changed, 13 insertions, 13 deletions
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<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: