30 #ifndef RECENTADDRESSES_H
31 #define RECENTADDRESSES_H
33 #include <tqstringlist.h>
34 #include <tdeabc/addressee.h>
36 #include <kdialogbase.h>
38 #include <tdemacros.h>
42 namespace TDERecentAddress {
44 class TDE_EXPORT RecentAddressDialog : public KDialogBase
47 RecentAddressDialog( TQWidget *parent, const char *name = 0 );
48 void setAddresses( const TQStringList &addrs );
49 TQStringList addresses() const;
51 KEditListBox *mEditor;
73 static bool exists() { return s_self != 0; }
80 TQStringList addresses() const;
81 const TDEABC::Addressee::List& tdeabcAddresses() const { return m_addresseeList; }
88 void add( const TQString& entry );
94 void setMaxCount( int count );
105 void load( TDEConfig * );
111 void save( TDEConfig * );
121 TDEABC::Addressee::List m_addresseeList;
Handles a list of "recent email-addresses".
|