Messagelib
aggregation.h
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...
57 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
70 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
81 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
95 // Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
107 // Warning: Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
122 const QString &name, const QString &description, Grouping grouping, GroupExpandPolicy groupExpandPolicy, Threading threading, ThreadLeader threadLeader, ThreadExpandPolicy threadExpandPolicy, FillViewStrategy fillViewStrategy, bool readOnly);
static QVector< QPair< QString, int > > enumerateGroupExpandPolicyOptions(Grouping g)
Enumerates the group sort direction options compatible with the specified Grouping.
Definition: aggregation.cpp:199
Thread by "In-Reply-To" and "References" fields.
Definition: aggregation.h:68
A set of aggregation options that can be applied to the MessageList::Model in a single shot...
Definition: aggregation.h:27
static QVector< QPair< QString, int > > enumerateThreadExpandPolicyOptions(Threading t)
Enumerates the thread expand policies compatible with the specified Threading option.
Definition: aggregation.cpp:243
void setFillViewStrategy(FillViewStrategy fillViewStrategy)
Sets the current fill view strategy.
Definition: aggregation.h:261
void setGroupExpandPolicy(GroupExpandPolicy groupExpandPolicy)
Sets the GroupExpandPolicy for the groups.
Definition: aggregation.h:161
A set of options that can be applied to the MessageList in one shot.
Definition: optionset.h:31
ThreadLeader threadLeader() const
Returns the current thread leader determination method.
Definition: aggregation.h:200
static QVector< QPair< QString, int > > enumerateThreadingOptions()
Enumerates the available threading method options.
Definition: aggregation.cpp:213
Thread by all of the above and try to match subjects too.
Definition: aggregation.h:69
Perform no threading at all.
Definition: aggregation.h:66
Makes sense only with GroupByDate or GroupByDateRange.
Definition: aggregation.h:55
const QString & description() const
Returns a description of this option set.
Definition: optionset.h:78
Group the messages by the date of the thread leader.
Definition: aggregation.h:38
Thread by "In-Reply-To" field only.
Definition: aggregation.h:67
Never expand groups during a view fill algorithm.
Definition: aggregation.h:54
Use smart (thread leader) date ranges ("Today","Yesterday","Last Week"...)
Definition: aggregation.h:39
Don't group messages at all.
Definition: aggregation.h:37
The thread grouping is computed from the topmost message (very similar to least recent, but might be different if timezones or machine clocks are screwed)
Definition: aggregation.h:79
void setThreadExpandPolicy(ThreadExpandPolicy threadExpandPolicy)
Sets the current thread expand policy.
Definition: aggregation.h:237
Expand all threads (this might be very slow)
Definition: aggregation.h:93
Expand threads with unread messages (this includes new)
Definition: aggregation.h:92
Group by receiver, always.
Definition: aggregation.h:42
void setThreadLeader(ThreadLeader tl)
Sets the current thread leader determination method.
Definition: aggregation.h:210
static QVector< 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:229
All groups are expanded as they are inserted.
Definition: aggregation.h:56
static QVector< 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:177
static QVector< QPair< QString, int > > enumerateFillViewStrategyOptions()
Enumerates the fill view strategies.
Definition: aggregation.cpp:263
Do larger chunks of work, zero intervals between chunks.
Definition: aggregation.h:105
GroupExpandPolicy groupExpandPolicy() const
Returns the current GroupExpandPolicy.
Definition: aggregation.h:152
Expand threads with "hot" messages (this includes new, unread, important, todo)
Definition: aggregation.h:94
Never expand any thread, this is fast.
Definition: aggregation.h:90
The thread grouping is computed from the most recent message.
Definition: aggregation.h:80
Do small chunks of work, small intervals between chunks to allow for UI event processing.
Definition: aggregation.h:104
bool load(QDataStream &stream) override
Pure virtual reimplemented from OptionSet.
Definition: aggregation.cpp:59
DEPRECATED. New message status no longer exists.
Definition: aggregation.h:91
FillViewStrategy fillViewStrategy() const
Returns the current fill view strategy.
Definition: aggregation.h:253
Definition: aggregation.h:20
Do one large chunk, no interactivity at all.
Definition: aggregation.h:106
Group by sender (incoming) or receiver (outgoing) field.
Definition: aggregation.h:40
ThreadExpandPolicy threadExpandPolicy() const
Returns the current thread expand policy.
Definition: aggregation.h:227
void save(QDataStream &stream) const override
Pure virtual reimplemented from OptionSet.
Definition: aggregation.cpp:162
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 23:16:33 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 23:16:33 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.