Pimcommon
recentaddresses.cpp
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=nullptr) const
void setNameFromString(const QString &s)
void addEmail(const Email &email)
static void parseEmailAddress(const QString &rawEmail, QString &fullName, QString &email)
void setPreferred(bool preferred)
Handles a list of "recent email-addresses".
Definition recentaddresses.h:25
void load(KConfig *)
Loads the list of recently used addresses from the configfile.
Definition recentaddresses.cpp:51
static RecentAddresses * self(KConfig *config=nullptr)
Definition recentaddresses.cpp:26
QStringList addresses() const
Definition recentaddresses.cpp:139
void setMaxCount(int count)
Sets the maximum number, the list can hold.
Definition recentaddresses.cpp:114
void save(KConfig *)
Saves the list of recently used addresses to the configfile.
Definition recentaddresses.cpp:75
KCODECS_EXPORT EmailParseResult isValidAddress(const QString &aStr)
KCODECS_EXPORT QStringList splitAddressList(const QString &aStr)
EmailParseResult
AddressOk
void append(QList< T > &&value)
void reserve(qsizetype size)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.