• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messagelist

  • MessageList
  • Core
  • Manager
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | List of all members
MessageList::Core::Manager Class Reference

#include <manager.h>

Inheritance diagram for MessageList::Core::Manager:
Inheritance graph
[legend]

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.

Definition at line 61 of file manager.h.

Constructor & Destructor Documentation

Manager::Manager ( )
explicitprotected

Definition at line 57 of file manager.cpp.

Manager::~Manager ( )
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.

const QHash< QString, Aggregation * >& MessageList::Core::Manager::aggregations ( ) const
inline

Definition at line 204 of file manager.h.

void MessageList::Core::Manager::aggregationsChanged ( )
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.

const QString& MessageList::Core::Manager::cachedLocalizedUnknownText ( ) const
inline

Definition at line 183 of file manager.h.

const KMime::DateFormatter* MessageList::Core::Manager::dateFormatter ( ) const
inline

Definition at line 118 of file manager.h.

const Aggregation * Manager::defaultAggregation ( )

Definition at line 181 of file manager.cpp.

const Theme * Manager::defaultTheme ( )

Definition at line 492 of file manager.cpp.

static Manager* MessageList::Core::Manager::instance ( )
inlinestatic

Definition at line 111 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapHorizontalSpacer ( ) const
inline

Definition at line 180 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageActionItem ( ) const
inline

Definition at line 136 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageAnnotation ( ) const
inline

Definition at line 170 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageAttachment ( ) const
inline

Definition at line 168 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageDeleted ( ) const
inline

Definition at line 128 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageForwarded ( ) const
inline

Definition at line 140 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageFullyEncrypted ( ) const
inline

Definition at line 160 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageFullySigned ( ) const
inline

Definition at line 152 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageHam ( ) const
inline

Definition at line 150 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageIgnored ( ) const
inline

Definition at line 146 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageImportant ( ) const
inline

Definition at line 142 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageInvitation ( ) const
inline

Definition at line 172 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageNew ( ) const
inline

Definition at line 122 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageNotEncrypted ( ) const
inline

Definition at line 166 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageNotSigned ( ) const
inline

Definition at line 158 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessagePartiallyEncrypted ( ) const
inline

Definition at line 162 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessagePartiallySigned ( ) const
inline

Definition at line 154 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageQueued ( ) const
inline

Definition at line 134 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageRead ( ) const
inline

Definition at line 126 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageReplied ( ) const
inline

Definition at line 130 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageRepliedAndForwarded ( ) const
inline

Definition at line 132 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageSent ( ) const
inline

Definition at line 138 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageSpam ( ) const
inline

Definition at line 148 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageUndefinedEncrypted ( ) const
inline

Definition at line 164 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageUndefinedSigned ( ) const
inline

Definition at line 156 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageUnread ( ) const
inline

Definition at line 124 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapMessageWatched ( ) const
inline

Definition at line 144 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapShowLess ( ) const
inline

Definition at line 176 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapShowMore ( ) const
inline

Definition at line 174 of file manager.h.

const QPixmap* MessageList::Core::Manager::pixmapVerticalLine ( ) const
inline

Definition at line 178 of file manager.h.

void Manager::registerWidget ( Widget *  pWidget)
static

Definition at line 147 of file manager.cpp.

void Manager::reloadAllWidgets ( )
protectedslot

Explicitly reloads the contents of all the widgets.

Definition at line 893 of file manager.cpp.

void Manager::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 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.

const QHash< QString, Theme * >& MessageList::Core::Manager::themes ( ) const
inline

Definition at line 234 of file manager.h.

void MessageList::Core::Manager::themesChanged ( )
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.

void Manager::unregisterWidget ( Widget *  pWidget)
static

Definition at line 155 of file manager.cpp.


The documentation for this class was generated from the following files:
  • manager.h
  • manager.cpp
This file is part of the KDE documentation.
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.

messagelist

Skip menu "messagelist"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal