KRecentAddress::RecentAddresses Class Reference
Handles a list of "recent email-addresses". More...
#include <recentaddresses.h>
Public Member Functions
- QStringList addresses () const
- const KABC::Addressee::List & kabcAddresses () const
- void add (const QString &entry)
- void setMaxCount (int count)
- uint maxCount () const
- void load (KConfig *)
- void save (KConfig *)
- void clear ()
Static Public Member Functions
- static RecentAddresses * self (KConfig *config=0L)
Detailed Description
Handles a list of "recent email-addresses".Simply set a max-count and call add() to add entries.
- Author:
- Carsten Pfeiffer <pfeiffer@kde.org>
Member Function Documentation
|
|
|
|
|
Adds an entry to the list. Note: an entry doesn't have to be one email address, it can be multiple, like "Foo <foo@bar.org>, Bar Baz <bar@baz.org>". |
|
Sets the maximum number, the list can hold. The list adjusts to this size if necessary. Default maximum is 40. |
|
|
|
Loads the list of recently used addresses from the configfile. Automatically done on startup. |
|
Saves the list of recently used addresses to the configfile. Make sure to call KGlobal::config()->sync() afterwards, to really save. |
|
Removes all entries from the history.
|
The documentation for this class was generated from the following files:
- recentaddresses.h
- recentaddresses.cpp