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

messagelist

  • sources
  • kde-4.14
  • 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  AttachmentStatusChanged = (1 << 5)
121  };
122 
135  bool handleItemPropertyChanges( int propertyChangeMask, Item * parent, Item * item );
136 
146  void propagateItemPropertiesToParent( Item * item );
147 
157  bool applyFilterToSubtree( Item * item, const QModelIndex &parentIndex );
158 
159 
160  // Slots connected to the underlying StorageModel.
161 
162  void slotStorageModelRowsInserted( const QModelIndex &parent, int from, int to );
163  void slotStorageModelRowsRemoved( const QModelIndex &parent, int from, int to );
164  void slotStorageModelDataChanged( const QModelIndex &fromIndex, const QModelIndex &toIndex );
165  void slotStorageModelHeaderDataChanged( Qt::Orientation orientation, int first, int last );
166  void slotStorageModelLayoutChanged();
167  void slotApplyFilter();
168 
169 
170  Model * const q;
171 
173  int mRecursionCounterForReset;
174 
178  StorageModel *mStorageModel;
179 
183  const Aggregation * mAggregation;
184 
188  const Theme * mTheme;
189 
193  const SortOrder * mSortOrder;
194 
198  const Filter *mFilter;
199 
203  QTimer mFillStepTimer;
204 
208  QHash< QString, GroupHeaderItem * > mGroupHeaderItemHash;
209 
214  QHash< QByteArray, MessageItem * > mThreadingCacheMessageIdMD5ToMessageItem;
215 
220  QMultiHash< QByteArray, MessageItem * > mThreadingCacheMessageInReplyToIdMD5ToMessageItem;
221 
226  QHash< QByteArray, QList< MessageItem * > * > mThreadingCacheMessageSubjectMD5ToMessageItem;
227 
231  QHash< GroupHeaderItem *, GroupHeaderItem * > mGroupHeadersThatNeedUpdate;
232 
236  QList< MessageItem * > mUnassignedMessageListForPass2;
237 
241  QList< MessageItem * > mUnassignedMessageListForPass3;
242 
246  QList< MessageItem * > mUnassignedMessageListForPass4;
247 
251  QHash< MessageItem *, MessageItem * > mOrphanChildrenHash;
252 
256  QList< ViewItemJob * > mViewItemJobs;
257 
262  QDate mTodayDate;
263 
268  Item *mRootItem;
269 
273  View *mView;
274 
279  time_t mViewItemJobStepStartTime;
280 
284  int mViewItemJobStepChunkTimeout;
285 
289  int mViewItemJobStepIdleInterval;
290 
295  int mViewItemJobStepMessageCheckCount;
296 
303  ModelInvariantRowMapper * mInvariantRowMapper;
304 
308  QString mCachedTodayLabel;
309 
313  QString mCachedYesterdayLabel;
314 
318  QString mCachedUnknownLabel;
319 
323  QString mCachedLastWeekLabel;
324 
328  QString mCachedTwoWeeksAgoLabel;
329 
333  QString mCachedThreeWeeksAgoLabel;
334 
338  QString mCachedFourWeeksAgoLabel;
339 
343  QString mCachedFiveWeeksAgoLabel;
344 
348  qint32 mCachedWatchedOrIgnoredStatusBits;
349 
354  bool mInLengthyJobBatch;
355 
362  Item * mCurrentItemToRestoreAfterViewItemJobStep;
363 
370  bool mLoading;
371 
382  PreSelectionMode mPreSelectionMode;
383 
384  // Oldest and newest item while loading the model
385  // Not valid afterwards anymore. Used for pre-selection of the newest/oldest message
386  MessageItem *mOldestItem;
387  MessageItem *mNewestItem;
388 
396  MessageItem * mLastSelectedMessageInFolder;
397 
410  MessageItemSetManager * mPersistentSetManager;
411 
416  Model * mModelForItemFunctions;
417 
423  bool mStorageModelContainsOutboundMessages;
424 };
425 
426 } // namespace Core
427 
428 } // namespace MessageList
429 
430 #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:328
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:231
QModelIndex
MessageList::Core::ModelPrivate::mThreadingCacheMessageInReplyToIdMD5ToMessageItem
QMultiHash< QByteArray, MessageItem * > mThreadingCacheMessageInReplyToIdMD5ToMessageItem
Threading cache.
Definition: model_p.h:220
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:268
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:423
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:318
MessageList::Core::ModelPrivate::mModelForItemFunctions
Model * mModelForItemFunctions
This pointer is passed to the Item functions that insert children.
Definition: model_p.h:416
MessageList::Core::ModelPrivate::ViewItemJobCompleted
Definition: model_p.h:71
MessageList::Core::MessageItem
Definition: messageitem.h:46
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:246
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:256
MessageList::Core::ModelPrivate::mCachedWatchedOrIgnoredStatusBits
qint32 mCachedWatchedOrIgnoredStatusBits
Cached bits that we use for fast status checks.
Definition: model_p.h:348
MessageList::Core::ModelPrivate::mFilter
const Filter * mFilter
The filter to apply on messages.
Definition: model_p.h:198
MessageList::Core::ModelPrivate::mOldestItem
MessageItem * mOldestItem
Definition: model_p.h:386
MessageList::Core::ModelPrivate::slotStorageModelLayoutChanged
void slotStorageModelLayoutChanged()
Definition: model.cpp:4429
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:338
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:2001
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass5
ViewItemJobResult viewItemJobStepInternalForJobPass5(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2311
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:65
QTime
MessageList::Core::ModelPrivate::mViewItemJobStepChunkTimeout
int mViewItemJobStepChunkTimeout
The timeout for a single ViewItemJob step.
Definition: model_p.h:284
MessageList::Core::ModelPrivate::mThreadingCacheMessageIdMD5ToMessageItem
QHash< QByteArray, MessageItem * > mThreadingCacheMessageIdMD5ToMessageItem
Threading cache.
Definition: model_p.h:214
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:396
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:1906
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:273
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:313
MessageList::Core::ModelPrivate::mTheme
const Theme * mTheme
The currently used theme: shallow pointer.
Definition: model_p.h:188
MessageList::Core::ModelPrivate::mViewItemJobStepIdleInterval
int mViewItemJobStepIdleInterval
The idle time between two ViewItemJob steps.
Definition: model_p.h:289
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:241
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:208
MessageList::Core::ModelPrivate::fillView
void fillView()
QTimer
MessageList::Core::ModelPrivate::mTodayDate
QDate mTodayDate
The today's date.
Definition: model_p.h:262
QHash
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Update
ViewItemJobResult viewItemJobStepInternalForJobPass1Update(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:3202
MessageList::Core::ModelPrivate::mOrphanChildrenHash
QHash< MessageItem *, MessageItem * > mOrphanChildrenHash
Hash of orphan children used in Pass1Cleanup.
Definition: model_p.h:251
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:410
MessageList::Core::ModelPrivate::mThreadingCacheMessageSubjectMD5ToMessageItem
QHash< QByteArray, QList< MessageItem * > * > mThreadingCacheMessageSubjectMD5ToMessageItem
Threading cache.
Definition: model_p.h:226
MessageList::Core::ModelPrivate::mLoading
bool mLoading
Set to true in the first large loading job.
Definition: model_p.h:370
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:382
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:2671
QDate
MessageList::Core::ModelPrivate::slotStorageModelRowsInserted
void slotStorageModelRowsInserted(const QModelIndex &parent, int from, int to)
Definition: model.cpp:4122
MessageList::Core::ModelPrivate::slotStorageModelHeaderDataChanged
void slotStorageModelHeaderDataChanged(Qt::Orientation orientation, int first, int last)
Definition: model.cpp:4491
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup
ViewItemJobResult viewItemJobStepInternalForJobPass1Cleanup(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2951
MessageList::Core::ModelPrivate::mViewItemJobStepStartTime
time_t mViewItemJobStepStartTime
The time at the current ViewItemJob step started.
Definition: model_p.h:279
MessageList::Core::ModelPrivate::slotStorageModelRowsRemoved
void slotStorageModelRowsRemoved(const QModelIndex &parent, int from, int to)
Definition: model.cpp:4254
MessageList::Core::ModelPrivate::ViewItemJobInterrupted
Definition: model_p.h:72
QString
QList
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass2
ViewItemJobResult viewItemJobStepInternalForJobPass2(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2561
MessageList::Core::ModelPrivate::q
Model *const q
Definition: model_p.h:170
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:4437
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass4
ViewItemJobResult viewItemJobStepInternalForJobPass4(ViewItemJob *job, const QTime &tStart)
Definition: model.cpp:2419
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:236
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:295
MessageList::Core::ModelPrivate::mFillStepTimer
QTimer mFillStepTimer
The timer involved in breaking the "fill" operation in steps.
Definition: model_p.h:203
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::AttachmentStatusChanged
Definition: model_p.h:120
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:3891
MessageList::Core::ModelPrivate::mInLengthyJobBatch
bool mInLengthyJobBatch
Flag signaling a possibly long job batch.
Definition: model_p.h:354
MessageList::Core::ModelPrivate::mRecursionCounterForReset
int mRecursionCounterForReset
counter to avoid infinite recursions in the setStorageModel() function
Definition: model_p.h:173
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:3350
MessageList::Core::ModelPrivate::mSortOrder
const SortOrder * mSortOrder
The currently used sort order.
Definition: model_p.h:193
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:323
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:44
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:303
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:333
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:178
MessageList::Core::ModelPrivate::viewItemJobStepInternal
ViewItemJobResult viewItemJobStepInternal()
Definition: model.cpp:3683
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:2468
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:343
MessageList::Core::ModelPrivate::clearJobList
void clearJobList()
Definition: model.cpp:1066
MessageList::Core::ModelPrivate::mNewestItem
MessageItem * mNewestItem
Definition: model_p.h:387
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:362
MessageList::Core::ModelPrivate::mAggregation
const Aggregation * mAggregation
The currently set aggregation mode: shallow pointer set by Widget.
Definition: model_p.h:183
MessageList::Core::ModelPrivate::ActionItemStatusChanged
Definition: model_p.h:117
QMultiHash
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:308
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:1956
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:01 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
  • pimprint

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