21 #ifndef DISTRIBUTIONLIST_H 22 #define DISTRIBUTIONLIST_H 24 #include <tdeabc/addressee.h> 55 typedef TQValueList<Entry> List; 58 Entry( const Addressee &_addressee, const TQString &_email ) : 59 addressee( _addressee ), email( _email ) {} 65 typedef TQValueList<DistributionList> List; 83 void setName( const TQString &name ); 86 TQString name() const { return formattedName(); } 92 void insertEntry( const Addressee &, const TQString &email=TQString() ); 98 void removeEntry( const Addressee &, const TQString &email=TQString() ); 101 void insertEntry( const TQString& uid, const TQString& email=TQString() ); 103 void removeEntry( const TQString& uid, const TQString& email=TQString() ); 111 TQStringList emails( TDEABC::AddressBook* book ) const; 118 Entry::List entries( TDEABC::AddressBook* book ) const; 121 static bool isDistributionList( const TDEABC::Addressee& addr ); 125 const TQString& name, 126 bool caseSensitive = true ); 130 static TQValueList<DistributionList> allDistributionLists( TDEABC::AddressBook* book ); Distribution list of email addresses.
TQString name() const HACK: reimplemented from Addressee, but it's NOT virtual there.
~DistributionList() Destructor.
TDEPIM classes for drag and drop of mails.
|