30#ifndef RECENTADDRESSES_H
31#define RECENTADDRESSES_H
33#include <tqstringlist.h>
34#include <tdeabc/addressee.h>
36#include <kdialogbase.h>
42namespace TDERecentAddress {
44class 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;
61class TDE_EXPORT RecentAddresses
68 static RecentAddresses * self(TDEConfig *config = 0L);
73 static bool exists() { return s_self != 0; }
81 const TDEABC::Addressee::List& tdeabcAddresses() const { return m_addresseeList; }
88 void add( const TQString& entry );
105 void load( TDEConfig * );
111 void save( TDEConfig * );
121 TDEABC::Addressee::List m_addresseeList;
TQStringList addresses() const
void add(const TQString &entry) Adds an entry to the list.
static RecentAddresses * self(TDEConfig *config=0L)
void setMaxCount(int count) Sets the maximum number, the list can hold.
Handles a list of "recent email-addresses".
|