Messagelib
aggregation.h
39 GroupByDateRange, ///< Use smart (thread leader) date ranges ("Today","Yesterday","Last Week"...)
43 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
44 // TODO: Group by message status: "Important messages", "Urgent messages", "To reply", "To do" etc...
46 };
57 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
58 };
70 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
71 };
79 TopmostMessage, ///< The thread grouping is computed from the topmost message (very similar to least recent, but might be different if timezones or
82 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
83 };
95 ExpandThreadsWithUnreadOrImportantMessages ///< Expand threads with "hot" messages (this includes new, unread, important, todo)
96 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
97 };
105 FavorInteractivity, ///< Do small chunks of work, small intervals between chunks to allow for UI event processing
108 // Warning: Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
109 };
178 * If the returned list is empty then the value of the option is meaningless in the current context.
228 * If the returned list is empty then the value of the option is meaningless in the current context.
254 * If the returned list is empty then the value of the option is meaningless in the current context.
A set of aggregation options that can be applied to the MessageList::Model in a single shot.
Definition aggregation.h:29
FillViewStrategy fillViewStrategy() const
Returns the current fill view strategy.
Definition aggregation.h:261
@ GroupByDateRange
Use smart (thread leader) date ranges ("Today","Yesterday","Last Week"...)
Definition aggregation.h:39
@ GroupBySenderOrReceiver
Group by sender (incoming) or receiver (outgoing) field.
Definition aggregation.h:40
@ ExpandRecentGroups
Makes sense only with GroupByDate or GroupByDateRange.
Definition aggregation.h:55
void setThreadLeader(ThreadLeader tl)
Sets the current thread leader determination method.
Definition aggregation.h:218
static QList< QPair< QString, int > > enumerateGroupExpandPolicyOptions(Grouping g)
Enumerates the group sort direction options compatible with the specified Grouping.
Definition aggregation.cpp:186
void save(QDataStream &stream) const override
Pure virtual reimplemented from OptionSet.
Definition aggregation.cpp:161
@ PerfectReferencesAndSubject
Thread by all of the above and try to match subjects too.
Definition aggregation.h:69
void setThreadExpandPolicy(ThreadExpandPolicy threadExpandPolicy)
Sets the current thread expand policy.
Definition aggregation.h:245
void setFillViewStrategy(FillViewStrategy fillViewStrategy)
Sets the current fill view strategy.
Definition aggregation.h:269
static QList< QPair< QString, int > > enumerateGroupingOptions()
Enumerates the available grouping options as a QList of pairs in that the first item is the localized...
Definition aggregation.cpp:176
static QList< QPair< QString, int > > enumerateFillViewStrategyOptions()
Enumerates the fill view strategies.
Definition aggregation.cpp:234
ThreadExpandPolicy threadExpandPolicy() const
Returns the current thread expand policy.
Definition aggregation.h:235
static QList< QPair< QString, int > > enumerateThreadExpandPolicyOptions(Threading t)
Enumerates the thread expand policies compatible with the specified Threading option.
Definition aggregation.cpp:222
static QList< QPair< QString, int > > enumerateThreadLeaderOptions(Grouping g, Threading t)
Enumerates the thread leader determination methods compatible with the specified Threading and the sp...
Definition aggregation.cpp:208
GroupExpandPolicy groupExpandPolicy() const
Returns the current GroupExpandPolicy.
Definition aggregation.h:160
bool load(QDataStream &stream) override
Pure virtual reimplemented from OptionSet.
Definition aggregation.cpp:58
@ ExpandThreadsWithUnreadOrImportantMessages
Expand threads with "hot" messages (this includes new, unread, important, todo)
Definition aggregation.h:95
@ ExpandThreadsWithNewMessages
DEPRECATED. New message status no longer exists.
Definition aggregation.h:92
@ ExpandThreadsWithUnreadMessages
Expand threads with unread messages (this includes new)
Definition aggregation.h:93
@ TopmostMessage
The thread grouping is computed from the topmost message (very similar to least recent,...
Definition aggregation.h:79
@ MostRecentMessage
The thread grouping is computed from the most recent message.
Definition aggregation.h:81
static QList< QPair< QString, int > > enumerateThreadingOptions()
Enumerates the available threading method options.
Definition aggregation.cpp:200
@ FavorInteractivity
Do small chunks of work, small intervals between chunks to allow for UI event processing.
Definition aggregation.h:105
ThreadLeader threadLeader() const
Returns the current thread leader determination method.
Definition aggregation.h:208
void setGroupExpandPolicy(GroupExpandPolicy groupExpandPolicy)
Sets the GroupExpandPolicy for the groups.
Definition aggregation.h:169
A set of options that can be applied to the MessageList in one shot.
Definition optionset.h:33
const QString & description() const
Returns a description of this option set.
Definition optionset.h:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.