messagelist
#include <manager.h>
Signals | |
void | aggregationsChanged () |
void | themesChanged () |
Public Member Functions | |
void | addAggregation (Aggregation *set) |
void | addTheme (Theme *set) |
const Aggregation * | aggregation (const QString &id) |
const Aggregation * | aggregationForStorageModel (const StorageModel *storageModel, bool *storageUsesPrivateAggregation) |
const Aggregation * | aggregationForStorageModel (const QString &storageModel, bool *storageUsesPrivateAggregation) |
const Aggregation * | aggregationForStorageModel (const Akonadi::Collection &storageModel, bool *storageUsesPrivateAggregation) |
const QHash< QString, Aggregation * > & | aggregations () const |
void | aggregationsConfigurationCompleted () |
const QString & | cachedLocalizedUnknownText () const |
const KMime::DateFormatter * | dateFormatter () const |
const Aggregation * | defaultAggregation () |
const Theme * | defaultTheme () |
const QPixmap * | pixmapHorizontalSpacer () const |
const QPixmap * | pixmapMessageActionItem () const |
const QPixmap * | pixmapMessageAnnotation () const |
const QPixmap * | pixmapMessageAttachment () const |
const QPixmap * | pixmapMessageDeleted () const |
const QPixmap * | pixmapMessageForwarded () const |
const QPixmap * | pixmapMessageFullyEncrypted () const |
const QPixmap * | pixmapMessageFullySigned () const |
const QPixmap * | pixmapMessageHam () const |
const QPixmap * | pixmapMessageIgnored () const |
const QPixmap * | pixmapMessageImportant () const |
const QPixmap * | pixmapMessageInvitation () const |
const QPixmap * | pixmapMessageNew () const |
const QPixmap * | pixmapMessageNotEncrypted () const |
const QPixmap * | pixmapMessageNotSigned () const |
const QPixmap * | pixmapMessagePartiallyEncrypted () const |
const QPixmap * | pixmapMessagePartiallySigned () const |
const QPixmap * | pixmapMessageQueued () const |
const QPixmap * | pixmapMessageRead () const |
const QPixmap * | pixmapMessageReplied () const |
const QPixmap * | pixmapMessageRepliedAndForwarded () const |
const QPixmap * | pixmapMessageSent () const |
const QPixmap * | pixmapMessageSpam () const |
const QPixmap * | pixmapMessageUndefinedEncrypted () const |
const QPixmap * | pixmapMessageUndefinedSigned () const |
const QPixmap * | pixmapMessageUnread () const |
const QPixmap * | pixmapMessageWatched () const |
const QPixmap * | pixmapShowLess () const |
const QPixmap * | pixmapShowMore () const |
const QPixmap * | pixmapVerticalLine () const |
void | removeAllAggregations () |
void | removeAllThemes () |
void | saveAggregationForStorageModel (const StorageModel *storageModel, const QString &id, bool storageUsesPrivateAggregation) |
void | saveAggregationForStorageModel (const QString &index, const QString &id, bool storageUsesPrivateAggregation) |
void | saveAggregationForStorageModel (const Akonadi::Collection &col, const QString &id, bool storageUsesPrivateAggregation) |
void | saveSortOrderForStorageModel (const StorageModel *storageModel, const SortOrder &order, bool storageUsesPrivateSortOrder) |
void | saveThemeForStorageModel (const StorageModel *storageModel, const QString &id, bool storageUsesPrivateTheme) |
void | saveThemeForStorageModel (int index, const QString &id, bool storageUsesPrivateTheme) |
void | saveThemeForStorageModel (const QString &storageModelIndex, const QString &id, bool storageUsesPrivateTheme) |
const SortOrder | sortOrderForStorageModel (const StorageModel *storageModel, bool *storageUsesPrivateSortOrder) |
const Theme * | theme (const QString &id) |
const Theme * | themeForStorageModel (const Akonadi::Collection &col, bool *storageUsesPrivateTheme) |
const Theme * | themeForStorageModel (const StorageModel *storageModel, bool *storageUsesPrivateTheme) |
const Theme * | themeForStorageModel (const QString &id, bool *storageUsesPrivateTheme) |
const QHash< QString, Theme * > & | themes () const |
void | themesConfigurationCompleted () |
Static Public Member Functions | |
static Manager * | instance () |
static void | registerWidget (Widget *pWidget) |
static void | unregisterWidget (Widget *pWidget) |
Protected Slots | |
void | reloadAllWidgets () |
void | reloadGlobalConfiguration () |
Protected Member Functions | |
Manager () | |
~Manager () | |
Detailed Description
: The manager for all the existing MessageList::Widget objects.
This class is the "central" object of the whole MessageList framework. It's a singleton that can be accessed only by the means of static methods, is created automatically when the first MessageList::Widget object is created and destroyed automatically when the last MessageList::Widget object is destroyed.
This class takes care of loading/storing/mantaining the settings for the whole MessageList framework. It also keeps track of all the existing MessageList::Widget objects and takes care of uptdating them when settings change.
Constructor & Destructor Documentation
|
explicitprotected |
Definition at line 57 of file manager.cpp.
|
protected |
Definition at line 105 of file manager.cpp.
Member Function Documentation
void Manager::addAggregation | ( | Aggregation * | set | ) |
Definition at line 281 of file manager.cpp.
void Manager::addTheme | ( | Theme * | set | ) |
Definition at line 595 of file manager.cpp.
const Aggregation * Manager::aggregation | ( | const QString & | id | ) |
Definition at line 172 of file manager.cpp.
const Aggregation * Manager::aggregationForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateAggregation | ||
) |
Definition at line 245 of file manager.cpp.
const Aggregation * Manager::aggregationForStorageModel | ( | const QString & | storageModel, |
bool * | storageUsesPrivateAggregation | ||
) |
Definition at line 256 of file manager.cpp.
const Aggregation * Manager::aggregationForStorageModel | ( | const Akonadi::Collection & | storageModel, |
bool * | storageUsesPrivateAggregation | ||
) |
Definition at line 233 of file manager.cpp.
|
inline |
|
signal |
void Manager::aggregationsConfigurationCompleted | ( | ) |
This is called by the aggregation configuration dialog once the sets have been changed.
Definition at line 450 of file manager.cpp.
|
inline |
|
inline |
const Aggregation * Manager::defaultAggregation | ( | ) |
Definition at line 181 of file manager.cpp.
const Theme * Manager::defaultTheme | ( | ) |
Definition at line 492 of file manager.cpp.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 147 of file manager.cpp.
|
protectedslot |
Explicitly reloads the contents of all the widgets.
Definition at line 893 of file manager.cpp.
|
protectedslot |
Reloads the global configuration from the config files (so we assume it has changed) The settings private to MessageList (like Themes or Aggregations) aren't reloaded.
If the global configuration has changed then all the views are reloaded.
Definition at line 905 of file manager.cpp.
void Manager::removeAllAggregations | ( | ) |
Definition at line 441 of file manager.cpp.
void Manager::removeAllThemes | ( | ) |
Definition at line 873 of file manager.cpp.
void Manager::saveAggregationForStorageModel | ( | const StorageModel * | storageModel, |
const QString & | id, | ||
bool | storageUsesPrivateAggregation | ||
) |
Definition at line 214 of file manager.cpp.
void Manager::saveAggregationForStorageModel | ( | const QString & | index, |
const QString & | id, | ||
bool | storageUsesPrivateAggregation | ||
) |
Definition at line 219 of file manager.cpp.
void Manager::saveAggregationForStorageModel | ( | const Akonadi::Collection & | col, |
const QString & | id, | ||
bool | storageUsesPrivateAggregation | ||
) |
Definition at line 207 of file manager.cpp.
void Manager::saveSortOrderForStorageModel | ( | const StorageModel * | storageModel, |
const SortOrder & | order, | ||
bool | storageUsesPrivateSortOrder | ||
) |
Definition at line 476 of file manager.cpp.
void Manager::saveThemeForStorageModel | ( | const StorageModel * | storageModel, |
const QString & | id, | ||
bool | storageUsesPrivateTheme | ||
) |
Definition at line 526 of file manager.cpp.
void Manager::saveThemeForStorageModel | ( | int | index, |
const QString & | id, | ||
bool | storageUsesPrivateTheme | ||
) |
Definition at line 521 of file manager.cpp.
void Manager::saveThemeForStorageModel | ( | const QString & | storageModelIndex, |
const QString & | id, | ||
bool | storageUsesPrivateTheme | ||
) |
Definition at line 531 of file manager.cpp.
const SortOrder Manager::sortOrderForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateSortOrder | ||
) |
Definition at line 461 of file manager.cpp.
const Theme * Manager::theme | ( | const QString & | id | ) |
Definition at line 483 of file manager.cpp.
const Theme * Manager::themeForStorageModel | ( | const Akonadi::Collection & | col, |
bool * | storageUsesPrivateTheme | ||
) |
Definition at line 545 of file manager.cpp.
const Theme * Manager::themeForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateTheme | ||
) |
Definition at line 557 of file manager.cpp.
const Theme * Manager::themeForStorageModel | ( | const QString & | id, |
bool * | storageUsesPrivateTheme | ||
) |
Definition at line 570 of file manager.cpp.
|
inline |
|
signal |
void Manager::themesConfigurationCompleted | ( | ) |
This is called by the theme configuration dialog once the sets have been changed.
Definition at line 882 of file manager.cpp.
|
static |
Definition at line 155 of file manager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.