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

messagelist

  • sources
  • kde-4.12
  • kdepim
  • messagelist
  • core
model_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright 2008 Szymon Tomasz Stefanek <pragma@kvirc.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  *
19  *******************************************************************************/
20 
21 #ifndef __MESSAGELIST_CORE_MODEL_P_H__
22 #define __MESSAGELIST_CORE_MODEL_P_H__
23 
24 #include "model.h"
25 #include <config-messagelist.h>
26 
27 namespace MessageList
28 {
29 
30 namespace Core
31 {
32 
33 class ModelPrivate
34 {
35 public:
36  ModelPrivate( Model *owner ) : q( owner ) { }
37 
38  void fillView();
39 
45  void checkIfDateChanged();
46 
47  void viewItemJobStep();
48 
55  MessageItem * findMessageParent( MessageItem *mi );
62  MessageItem * guessMessageParent( MessageItem *mi );
63 
64  void attachMessageToParent( Item *pParent, MessageItem *mi );
65  void messageDetachedUpdateParentProperties( Item *oldParent, MessageItem *mi );
66  void attachMessageToGroupHeader( MessageItem *mi );
67  void attachGroup( GroupHeaderItem *ghi );
68 
69  enum ViewItemJobResult
70  {
71  ViewItemJobCompleted,
72  ViewItemJobInterrupted
73  };
74  ViewItemJobResult viewItemJobStepInternal();
75  ViewItemJobResult viewItemJobStepInternalForJob( ViewItemJob *job, const QTime &tStart );
76 
77  // FIXME: Those look like they should be made virtual in some job class! -> Refactor
78  ViewItemJobResult viewItemJobStepInternalForJobPass1Fill( ViewItemJob *job, const QTime &tStart );
79  ViewItemJobResult viewItemJobStepInternalForJobPass1Cleanup( ViewItemJob *job, const QTime &tStart );
80  ViewItemJobResult viewItemJobStepInternalForJobPass1Update( ViewItemJob *job, const QTime &tStart );
81  ViewItemJobResult viewItemJobStepInternalForJobPass2( ViewItemJob *job, const QTime &tStart );
82  ViewItemJobResult viewItemJobStepInternalForJobPass3( ViewItemJob *job, const QTime &tStart );
83  ViewItemJobResult viewItemJobStepInternalForJobPass4( ViewItemJob *job, const QTime &tStart );
84  ViewItemJobResult viewItemJobStepInternalForJobPass5( ViewItemJob *job, const QTime &tStart );
85  void clearJobList();
86  void clearUnassignedMessageLists();
87  void clearOrphanChildrenHash();
88  void clearThreadingCacheMessageSubjectMD5ToMessageItem();
89  void addMessageToSubjectBasedThreadingCache( MessageItem * mi );
90  void removeMessageFromSubjectBasedThreadingCache( MessageItem * mi );
91  void clear();
99  void syncExpandedStateOfSubtree( Item *root );
106  void saveExpandedStateOfSubtree( Item *root );
107 
108 #ifdef KDEPIM_FOLDEROPEN_PROFILE
109  // This prints out all the stats we collected
110  void printStatistics();
111 #endif
112 
113  enum PropertyChanges
114  {
115  DateChanged = 1,
116  MaxDateChanged = (1 << 1),
117  ActionItemStatusChanged = (1 << 2),
118  UnreadStatusChanged = (1 << 3),
119  ImportantStatusChanged = (1 << 4)
120  };
121 
134  bool handleItemPropertyChanges( int propertyChangeMask, Item * parent, Item * item );
135 
145  void propagateItemPropertiesToParent( Item * item );
146 
156  bool applyFilterToSubtree( Item * item, const QModelIndex &parentIndex );
157 
158 
159  // Slots connected to the underlying StorageModel.
160 
161  void slotStorageModelRowsInserted( const QModelIndex &parent, int from, int to );
162  void slotStorageModelRowsRemoved( const QModelIndex &parent, int from, int to );
163  void slotStorageModelDataChanged( const QModelIndex &fromIndex, const QModelIndex &toIndex );
164  void slotStorageModelHeaderDataChanged( Qt::Orientation orientation, int first, int last );
165  void slotStorageModelLayoutChanged();
166  void slotApplyFilter();
167 
168 
169  Model * const q;
170 
172  int mRecursionCounterForReset;
173 
177  StorageModel *mStorageModel;
178 
182  const Aggregation * mAggregation;
183 
187  const Theme * mTheme;
188 
192  const SortOrder * mSortOrder;
193 
197  const Filter *mFilter;
198 
202  QTimer mFillStepTimer;
203 
207  QHash< QString, GroupHeaderItem * > mGroupHeaderItemHash;
208 
213  QHash< QByteArray, MessageItem * > mThreadingCacheMessageIdMD5ToMessageItem;
214 
219  QMultiHash< QByteArray, MessageItem * > mThreadingCacheMessageInReplyToIdMD5ToMessageItem;
220 
225  QHash< QByteArray, QList< MessageItem * > * > mThreadingCacheMessageSubjectMD5ToMessageItem;
226 
230  QHash< GroupHeaderItem *, GroupHeaderItem * > mGroupHeadersThatNeedUpdate;
231 
235  QList< MessageItem * > mUnassignedMessageListForPass2;
236 
240  QList< MessageItem * > mUnassignedMessageListForPass3;
241 
245  QList< MessageItem * > mUnassignedMessageListForPass4;
246 
250  QHash< MessageItem *, MessageItem * > mOrphanChildrenHash;
251 
255  QList< ViewItemJob * > mViewItemJobs;
256 
261  QDate mTodayDate;
262 
267  Item *mRootItem;
268 
272  View *mView;
273 
278  time_t mViewItemJobStepStartTime;
279 
283  int mViewItemJobStepChunkTimeout;
284 
288  int mViewItemJobStepIdleInterval;
289 
294  int mViewItemJobStepMessageCheckCount;
295 
302  ModelInvariantRowMapper * mInvariantRowMapper;
303 
307  QString mCachedTodayLabel;
308 
312  QString mCachedYesterdayLabel;
313 
317  QString mCachedUnknownLabel;
318 
322  QString mCachedLastWeekLabel;
323 
327  QString mCachedTwoWeeksAgoLabel;
328 
332  QString mCachedThreeWeeksAgoLabel;
333 
337  QString mCachedFourWeeksAgoLabel;
338 
342  QString mCachedFiveWeeksAgoLabel;
343 
347  qint32 mCachedWatchedOrIgnoredStatusBits;
348 
353  bool mInLengthyJobBatch;
354 
361  Item * mCurrentItemToRestoreAfterViewItemJobStep;
362 
369  bool mLoading;
370 
381  PreSelectionMode mPreSelectionMode;
382 
383  // Oldest and newest item while loading the model
384  // Not valid afterwards anymore. Used for pre-selection of the newest/oldest message
385  MessageItem *mOldestItem;
386  MessageItem *mNewestItem;
387 
395  MessageItem * mLastSelectedMessageInFolder;
396 
409  MessageItemSetManager * mPersistentSetManager;
410 
415  Model * mModelForItemFunctions;
416 
422  bool mStorageModelContainsOutboundMessages;
423 };
424 
425 } // namespace Core
426 
427 } // namespace MessageList
428 
429 #endif
MessageList::Core::ModelPrivate::clearOrphanChildrenHash
void clearOrphanChildrenHash()
Definition: model.cpp:1054
MessageList::Core::ModelPrivate::mCachedTwoWeeksAgoLabel
QString mCachedTwoWeeksAgoLabel
The label for the "Two Weeks Ago" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:327
MessageList::Core::ModelPrivate::mGroupHeadersThatNeedUpdate
QHash< GroupHeaderItem *, GroupHeaderItem * > mGroupHeadersThatNeedUpdate
List of group headers that either need to be re-sorted or must be removed because empty...
Definition: model_p.h:230
MessageList::Core::ModelPrivate::mThreadingCacheMessageInReplyToIdMD5ToMessageItem
QMultiHash< QByteArray, MessageItem * > mThreadingCacheMessageInReplyToIdMD5ToMessageItem
Threading cache.
Definition: model_p.h:219
MessageList::Core::SortOrder
A class which holds information about sorting, e.g.
Definition: sortorder.h:37
MessageList::Core::ModelPrivate::handleItemPropertyChanges
bool handleItemPropertyChanges(int propertyChangeMask, Item *parent, Item *item)
Handle the specified property changes in item.
Definition: model.cpp:1715
MessageList::Core::ModelPrivate::ImportantStatusChanged
Definition: model_p.h:119
MessageList::Core::ModelPrivate::mRootItem
Item * mRootItem
Owned invisible root item, useful to implement algorithms that not need to handle the special case of...
Definition: model_p.h:267
MessageList::Core::Aggregation
A set of aggregation options that can be applied to the MessageList::Model in a single shot...
Definition: aggregation.h:43
MessageList::Core::GroupHeaderItem
Definition: groupheaderitem.h:34
MessageList::Core::MessageItemSetManager
This class manages sets of messageitem references.
Definition: messageitemsetmanager.h:48
MessageList::Core::ModelPrivate::mStorageModelContainsOutboundMessages
bool mStorageModelContainsOutboundMessages
The cached result of StorageModel::containsOutboundMessages().
Definition: model_p.h:422
MessageList::Core::ModelPrivate::mCachedUnknownLabel
QString mCachedUnknownLabel
The label for the "Unknown" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:317
MessageList::Core::ModelPrivate::mModelForItemFunctions
Model * mModelForItemFunctions
This pointer is passed to the Item functions that insert children.
Definition: model_p.h:415
MessageList::Core::ModelPrivate::ViewItemJobCompleted
Definition: model_p.h:71
MessageList::Core::MessageItem
Definition: messageitem.h:50
MessageList::Core::ModelPrivate::mUnassignedMessageListForPass4
QList< MessageItem * > mUnassignedMessageListForPass4
List of unassigned messages, used to handle threading in two passes, pointers are owned! ...
Definition: model_p.h:245
MessageList::Core::ModelPrivate::guessMessageParent
MessageItem * guessMessageParent(MessageItem *mi)
Attempt to find the threading parent for the specified message item.
Definition: model.cpp:1603
MessageList::Core::ModelPrivate::mViewItemJobs
QList< ViewItemJob * > mViewItemJobs
Pending fill view jobs, pointers are owned.
Definition: model_p.h:255
MessageList::Core::ModelPrivate::mCachedWatchedOrIgnoredStatusBits
qint32 mCachedWatchedOrIgnoredStatusBits
Cached bits that we use for fast status checks.
Definition: model_p.h:347
MessageList::Core::ModelPrivate::mFilter
const Filter * mFilter
The filter to apply on messages.
Definition: model_p.h:197
MessageList::Core::ModelPrivate::mOldestItem
MessageItem * mOldestItem
Definition: model_p.h:385
MessageList::Core::ModelPrivate::slotStorageModelLayoutChanged
void slotStorageModelLayoutChanged()
Definition: model.cpp:4412
MessageList::Core::ModelPrivate::mCachedFourWeeksAgoLabel
QString mCachedFourWeeksAgoLabel
The label for the "Four Weeks Ago" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:337
MessageList::Core::ModelPrivate::syncExpandedStateOfSubtree
void syncExpandedStateOfSubtree(Item *root)
Sync the expanded state of the subtree with the specified root.
Definition: model.cpp:1184
model.h
MessageList::Core::ModelInvariantRowMapper
This class is an optimizing helper for dealing with large flat QAbstractItemModel objects...
Definition: modelinvariantrowmapper.h:93
MessageList::Core::ModelPrivate::attachMessageToParent
void attachMessageToParent(Item *pParent, MessageItem *mi)
Definition: model.cpp:1987
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass5
ViewItemJobResult viewItemJobStepInternalForJobPass5(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2294
MessageList::Core::ModelPrivate::ModelPrivate
ModelPrivate(Model *owner)
Definition: model_p.h:36
MessageList::Core::View
The MessageList::View is the real display of the message list.
Definition: view.h:64
MessageList::Core::ModelPrivate::mViewItemJobStepChunkTimeout
int mViewItemJobStepChunkTimeout
The timeout for a single ViewItemJob step.
Definition: model_p.h:283
MessageList::Core::ModelPrivate::mThreadingCacheMessageIdMD5ToMessageItem
QHash< QByteArray, MessageItem * > mThreadingCacheMessageIdMD5ToMessageItem
Threading cache.
Definition: model_p.h:213
MessageList::Core::ModelPrivate::mLastSelectedMessageInFolder
MessageItem * mLastSelectedMessageInFolder
The id of the preselected ;essage is "translated" to a message pointer when it's fetched from the sto...
Definition: model_p.h:395
MessageList::Core::ModelPrivate::checkIfDateChanged
void checkIfDateChanged()
This is called by MessageList::Manager once in a while.
Definition: model.cpp:871
MessageList::Core::ModelPrivate::messageDetachedUpdateParentProperties
void messageDetachedUpdateParentProperties(Item *oldParent, MessageItem *mi)
Definition: model.cpp:1892
MessageList::Core::ModelPrivate::clearThreadingCacheMessageSubjectMD5ToMessageItem
void clearThreadingCacheMessageSubjectMD5ToMessageItem()
Definition: model.cpp:1048
MessageList::Core::Model
This class manages the huge tree of displayable objects: GroupHeaderItems and MessageItems.
Definition: model.h:77
MessageList::Core::ModelPrivate
Definition: model_p.h:33
MessageList::Core::ModelPrivate::mView
View * mView
The view we're attacched to.
Definition: model_p.h:272
MessageList::Core::ModelPrivate::mCachedYesterdayLabel
QString mCachedYesterdayLabel
The label for the "Yesterday" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:312
MessageList::Core::ModelPrivate::mTheme
const Theme * mTheme
The currently used theme: shallow pointer.
Definition: model_p.h:187
MessageList::Core::ModelPrivate::mViewItemJobStepIdleInterval
int mViewItemJobStepIdleInterval
The idle time between two ViewItemJob steps.
Definition: model_p.h:288
MessageList::Core::ModelPrivate::mUnassignedMessageListForPass3
QList< MessageItem * > mUnassignedMessageListForPass3
List of unassigned messages, used to handle threading in two passes, pointers are owned! ...
Definition: model_p.h:240
MessageList::Core::ModelPrivate::mGroupHeaderItemHash
QHash< QString, GroupHeaderItem * > mGroupHeaderItemHash
Group Key (usually the label) -> GroupHeaderItem, used to quickly find groups, pointers are shallow c...
Definition: model_p.h:207
MessageList::Core::ModelPrivate::fillView
void fillView()
MessageList::Core::ModelPrivate::mTodayDate
QDate mTodayDate
The today's date.
Definition: model_p.h:261
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Update
ViewItemJobResult viewItemJobStepInternalForJobPass1Update(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:3185
MessageList::Core::ModelPrivate::mOrphanChildrenHash
QHash< MessageItem *, MessageItem * > mOrphanChildrenHash
Hash of orphan children used in Pass1Cleanup.
Definition: model_p.h:250
MessageList::Core::ModelPrivate::mPersistentSetManager
MessageItemSetManager * mPersistentSetManager
The "persistent message item sets" are (guess what?) sets of messages that can be referenced globally...
Definition: model_p.h:409
MessageList::Core::ModelPrivate::mThreadingCacheMessageSubjectMD5ToMessageItem
QHash< QByteArray, QList< MessageItem * > * > mThreadingCacheMessageSubjectMD5ToMessageItem
Threading cache.
Definition: model_p.h:225
MessageList::Core::ModelPrivate::mLoading
bool mLoading
Set to true in the first large loading job.
Definition: model_p.h:369
MessageList::Core::ModelPrivate::DateChanged
Definition: model_p.h:115
MessageList::Core::ModelPrivate::mPreSelectionMode
PreSelectionMode mPreSelectionMode
Pre-selection is the action of automatically selecting a message just after the folder has finished l...
Definition: model_p.h:381
MessageList::Core::PreSelectionMode
PreSelectionMode
Pre-selection is the action of automatically selecting a message just after the folder has finished l...
Definition: enums.h:44
MessageList::Core::ModelPrivate::MaxDateChanged
Definition: model_p.h:116
MessageList::Core::ModelPrivate::attachGroup
void attachGroup(GroupHeaderItem *ghi)
Definition: model.cpp:1087
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill
ViewItemJobResult viewItemJobStepInternalForJobPass1Fill(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2654
MessageList::Core::ModelPrivate::slotStorageModelRowsInserted
void slotStorageModelRowsInserted(const QModelIndex &parent, int from, int to)
Definition: model.cpp:4105
MessageList::Core::ModelPrivate::slotStorageModelHeaderDataChanged
void slotStorageModelHeaderDataChanged(Qt::Orientation orientation, int first, int last)
Definition: model.cpp:4474
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup
ViewItemJobResult viewItemJobStepInternalForJobPass1Cleanup(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2934
MessageList::Core::ModelPrivate::mViewItemJobStepStartTime
time_t mViewItemJobStepStartTime
The time at the current ViewItemJob step started.
Definition: model_p.h:278
MessageList::Core::ModelPrivate::slotStorageModelRowsRemoved
void slotStorageModelRowsRemoved(const QModelIndex &parent, int from, int to)
Definition: model.cpp:4237
MessageList::Core::ModelPrivate::ViewItemJobInterrupted
Definition: model_p.h:72
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass2
ViewItemJobResult viewItemJobStepInternalForJobPass2(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2544
MessageList::Core::ModelPrivate::q
Model *const q
Definition: model_p.h:169
MessageList::Core::ModelPrivate::applyFilterToSubtree
bool applyFilterToSubtree(Item *item, const QModelIndex &parentIndex)
Recursively applies the current filter to the tree originating at the specified item.
Definition: model.cpp:377
MessageList::Core::ModelPrivate::slotStorageModelDataChanged
void slotStorageModelDataChanged(const QModelIndex &fromIndex, const QModelIndex &toIndex)
Definition: model.cpp:4420
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass4
ViewItemJobResult viewItemJobStepInternalForJobPass4(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2402
MessageList::Core::ModelPrivate::mUnassignedMessageListForPass2
QList< MessageItem * > mUnassignedMessageListForPass2
List of unassigned messages, used to handle threading in two passes, pointers are owned! ...
Definition: model_p.h:235
MessageList::Core::ModelPrivate::mViewItemJobStepMessageCheckCount
int mViewItemJobStepMessageCheckCount
The number of messages we process at once in a ViewItemJob step without checking the timeouts above...
Definition: model_p.h:294
MessageList::Core::ModelPrivate::mFillStepTimer
QTimer mFillStepTimer
The timer involved in breaking the "fill" operation in steps.
Definition: model_p.h:202
MessageList::Core::Item
A single item of the MessageList tree managed by MessageList::Model.
Definition: item.h:52
MessageList::Core::ModelPrivate::saveExpandedStateOfSubtree
void saveExpandedStateOfSubtree(Item *root)
Save the expanded state of the subtree with the specified root.
Definition: model.cpp:1162
MessageList::Core::ModelPrivate::slotApplyFilter
void slotApplyFilter()
Definition: model.cpp:361
MessageList::Core::ModelPrivate::clear
void clear()
Definition: model.cpp:628
MessageList::Core::StorageModel
The QAbstractItemModel based interface that you need to provide for your storage to work with Message...
Definition: storagemodelbase.h:45
MessageList::Core::ModelPrivate::viewItemJobStep
void viewItemJobStep()
Definition: model.cpp:3874
MessageList::Core::ModelPrivate::mInLengthyJobBatch
bool mInLengthyJobBatch
Flag signaling a possibly long job batch.
Definition: model_p.h:353
MessageList::Core::ModelPrivate::mRecursionCounterForReset
int mRecursionCounterForReset
counter to avoid infinite recursions in the setStorageModel() function
Definition: model_p.h:172
MessageList::Core::ModelPrivate::ViewItemJobResult
ViewItemJobResult
Definition: model_p.h:69
MessageList::Core::ModelPrivate::addMessageToSubjectBasedThreadingCache
void addMessageToSubjectBasedThreadingCache(MessageItem *mi)
Definition: model.cpp:1540
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob
ViewItemJobResult viewItemJobStepInternalForJob(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:3333
MessageList::Core::ModelPrivate::mSortOrder
const SortOrder * mSortOrder
The currently used sort order.
Definition: model_p.h:192
MessageList::Core::ModelPrivate::mCachedLastWeekLabel
QString mCachedLastWeekLabel
The label for the "Last Week" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:322
MessageList::Core::ModelPrivate::findMessageParent
MessageItem * findMessageParent(MessageItem *mi)
Attempt to find the threading parent for the specified message item.
Definition: model.cpp:1376
MessageList::Core::Filter
This class is responsable of matching messages that should be displayed in the View.
Definition: filter.h:51
MessageList::Core::ModelPrivate::PropertyChanges
PropertyChanges
Definition: model_p.h:113
MessageList::Core::ModelPrivate::mInvariantRowMapper
ModelInvariantRowMapper * mInvariantRowMapper
Our mighty ModelInvariantRowMapper: used to workaround an issue related to the Model/View architectur...
Definition: model_p.h:302
MessageList::Core::ModelPrivate::mCachedThreeWeeksAgoLabel
QString mCachedThreeWeeksAgoLabel
The label for the "Three Weeks Ago" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:332
MessageList::Core::ModelPrivate::removeMessageFromSubjectBasedThreadingCache
void removeMessageFromSubjectBasedThreadingCache(MessageItem *mi)
Definition: model.cpp:1570
MessageList::Core::ModelPrivate::mStorageModel
StorageModel * mStorageModel
The currently set storage model: shallow pointer.
Definition: model_p.h:177
MessageList::Core::ModelPrivate::viewItemJobStepInternal
ViewItemJobResult viewItemJobStepInternal()
Definition: model.cpp:3666
MessageList::Core::ModelPrivate::attachMessageToGroupHeader
void attachMessageToGroupHeader(MessageItem *mi)
Definition: model.cpp:1214
MessageList::Core::Theme
The Theme class defines the visual appearance of the MessageList.
Definition: theme.h:65
MessageList::Core::ModelPrivate::UnreadStatusChanged
Definition: model_p.h:118
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass3
ViewItemJobResult viewItemJobStepInternalForJobPass3(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2451
MessageList::Core::ModelPrivate::mCachedFiveWeeksAgoLabel
QString mCachedFiveWeeksAgoLabel
The label for the "Five Weeks Ago" group item, cached, so we don't translate it multiple times...
Definition: model_p.h:342
MessageList::Core::ModelPrivate::clearJobList
void clearJobList()
Definition: model.cpp:1066
MessageList::Core::ModelPrivate::mNewestItem
MessageItem * mNewestItem
Definition: model_p.h:386
MessageList::Core::ModelPrivate::clearUnassignedMessageLists
void clearUnassignedMessageLists()
Definition: model.cpp:919
MessageList::Core::ModelPrivate::mCurrentItemToRestoreAfterViewItemJobStep
Item * mCurrentItemToRestoreAfterViewItemJobStep
We need to save the current item before each job step.
Definition: model_p.h:361
MessageList::Core::ModelPrivate::mAggregation
const Aggregation * mAggregation
The currently set aggregation mode: shallow pointer set by Widget.
Definition: model_p.h:182
MessageList::Core::ModelPrivate::ActionItemStatusChanged
Definition: model_p.h:117
MessageList::Core::ModelPrivate::mCachedTodayLabel
QString mCachedTodayLabel
The label for the "Today" group item, cached, so we don't translate it multiple times.
Definition: model_p.h:307
MessageList::Core::ModelPrivate::propagateItemPropertiesToParent
void propagateItemPropertiesToParent(Item *item)
This one checks if the parent of item requires an update due to the properties of item (that might ha...
Definition: model.cpp:1942
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