Messagelib
storagemodelbase.cpp
32 KConfigGroup conf(MessageListSettings::self()->config(), MessageList::Util::storageModelSelectedMessageGroup());
37 return conf.readEntry(MessageList::Util::messageUniqueIdConfigName().arg(storageModelId), defValue);
48 KConfigGroup conf(MessageListSettings::self()->config(), MessageList::Util::storageModelSelectedMessageGroup());
void deleteEntry(const char *key, WriteConfigFlags pFlags=Normal)
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=nullptr) const
virtual QString id() const =0
Returns an unique id for this Storage collection.
void savePreSelectedMessage(unsigned long uniqueIdOfMessage)
Stores in the unique id of the last selected message for the specified StorageModel.
Definition storagemodelbase.cpp:40
unsigned long preSelectedMessage() const
Returns the unique id of the last selected message for this StorageModel.
Definition storagemodelbase.cpp:27
virtual int initialUnreadRowCountGuess() const
Returns (a guess for) the number of unread messages: must be pessimistic (i.e.
Definition storagemodelbase.cpp:22
The implementation independent part of the MessageList library.
Definition aggregation.h:22
virtual int rowCount(const QModelIndex &parent) const const=0
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:07:25 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:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.