MessageList::Core::Manager
#include <manager.h>
Signals | |
void | aggregationsChanged () |
void | themesChanged () |
Protected Slots | |
void | reloadAllWidgets () |
void | reloadGlobalConfiguration () |
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
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/maintaining the settings for the whole MessageList framework. It also keeps track of all the existing MessageList::Widget objects and takes care of updating them when settings change.
Constructor & Destructor Documentation
◆ Manager()
|
explicitprotected |
Definition at line 32 of file manager.cpp.
◆ ~Manager()
|
overrideprotected |
Definition at line 44 of file manager.cpp.
Member Function Documentation
◆ addAggregation()
void Manager::addAggregation | ( | Aggregation * | set | ) |
Definition at line 197 of file manager.cpp.
◆ addTheme()
Definition at line 481 of file manager.cpp.
◆ aggregation()
const Aggregation * Manager::aggregation | ( | const QString & | id | ) |
Definition at line 82 of file manager.cpp.
◆ aggregationForStorageModel()
const Aggregation * Manager::aggregationForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateAggregation ) |
Definition at line 161 of file manager.cpp.
◆ aggregations()
|
inline |
◆ aggregationsConfigurationCompleted()
void Manager::aggregationsConfigurationCompleted | ( | ) |
This is called by the aggregation configuration dialog once the sets have been changed.
Definition at line 330 of file manager.cpp.
◆ cachedLocalizedUnknownText()
◆ dateFormatter()
|
inline |
◆ defaultAggregation()
const Aggregation * Manager::defaultAggregation | ( | ) |
Definition at line 92 of file manager.cpp.
◆ defaultTheme()
Definition at line 374 of file manager.cpp.
◆ instance()
◆ registerWidget()
Definition at line 58 of file manager.cpp.
◆ reloadAllWidgets
|
protectedslot |
Explicitly reloads the contents of all the widgets.
Definition at line 832 of file manager.cpp.
◆ reloadGlobalConfiguration
|
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 842 of file manager.cpp.
◆ removeAllAggregations()
void Manager::removeAllAggregations | ( | ) |
Definition at line 320 of file manager.cpp.
◆ removeAllThemes()
void Manager::removeAllThemes | ( | ) |
Definition at line 810 of file manager.cpp.
◆ saveAggregationForStorageModel() [1/2]
void Manager::saveAggregationForStorageModel | ( | const Akonadi::Collection & | col, |
const QString & | id, | ||
bool | storageUsesPrivateAggregation ) |
Definition at line 120 of file manager.cpp.
◆ saveAggregationForStorageModel() [2/2]
void Manager::saveAggregationForStorageModel | ( | const StorageModel * | storageModel, |
const QString & | id, | ||
bool | storageUsesPrivateAggregation ) |
Definition at line 128 of file manager.cpp.
◆ saveSortOrderForStorageModel()
void Manager::saveSortOrderForStorageModel | ( | const StorageModel * | storageModel, |
SortOrder | order, | ||
bool | storageUsesPrivateSortOrder ) |
Definition at line 358 of file manager.cpp.
◆ saveThemeForStorageModel() [1/3]
void Manager::saveThemeForStorageModel | ( | const QString & | storageModelIndex, |
const QString & | id, | ||
bool | storageUsesPrivateTheme ) |
Definition at line 416 of file manager.cpp.
◆ saveThemeForStorageModel() [2/3]
void Manager::saveThemeForStorageModel | ( | const StorageModel * | storageModel, |
const QString & | id, | ||
bool | storageUsesPrivateTheme ) |
Definition at line 411 of file manager.cpp.
◆ saveThemeForStorageModel() [3/3]
void Manager::saveThemeForStorageModel | ( | int | index, |
const QString & | id, | ||
bool | storageUsesPrivateTheme ) |
Definition at line 406 of file manager.cpp.
◆ sortOrderForStorageModel()
const SortOrder Manager::sortOrderForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateSortOrder ) |
Definition at line 342 of file manager.cpp.
◆ theme()
◆ themeForStorageModel() [1/3]
const Theme * Manager::themeForStorageModel | ( | const Akonadi::Collection & | col, |
bool * | storageUsesPrivateTheme ) |
Definition at line 432 of file manager.cpp.
◆ themeForStorageModel() [2/3]
Definition at line 456 of file manager.cpp.
◆ themeForStorageModel() [3/3]
const Theme * Manager::themeForStorageModel | ( | const StorageModel * | storageModel, |
bool * | storageUsesPrivateTheme ) |
Definition at line 444 of file manager.cpp.
◆ themes()
◆ themesConfigurationCompleted()
void Manager::themesConfigurationCompleted | ( | ) |
This is called by the theme configuration dialog once the sets have been changed.
Definition at line 820 of file manager.cpp.
◆ unregisterWidget()
Definition at line 67 of file manager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.