messagelist
aggregation.cpp
Go to the documentation of this file.
29 static const int gAggregationCurrentVersion = 0x1009; // increase if you add new fields of change the meaning of some
208 ret.append( QPair< QString, int >( i18n( "By Exact Date (of Thread Leaders)" ), GroupByDate ) );
209 ret.append( QPair< QString, int >( i18n( "By Smart Date Ranges (of Thread Leaders)" ), GroupByDateRange ) );
210 ret.append( QPair< QString, int >( i18n( "By Smart Sender/Receiver" ), GroupBySenderOrReceiver ) );
232 ret.append( QPair< QString, int >( i18nc( "No threading of messages", "None" ), NoThreading ) );
234 ret.append( QPair< QString, int >( i18n( "Perfect and by References" ), PerfectAndReferences ) );
235 ret.append( QPair< QString, int >( i18n( "Perfect, by References and by Subject" ), PerfectReferencesAndSubject ) );
239 QList< QPair< QString, int > > Aggregation::enumerateThreadLeaderOptions( Grouping g, Threading t )
257 ret.append( QPair< QString, int >( i18n( "Expand Threads With Unread Messages" ), ExpandThreadsWithUnreadMessages ) );
258 ret.append( QPair< QString, int >( i18n( "Expand Threads With Unread or Important Messages" ), ExpandThreadsWithUnreadOrImportantMessages ) );
268 ret.append( QPair< QString, int >( i18n( "Batch Job (No Interactivity)" ), BatchNoInteractivity ) );
Thread by "In-Reply-To" and "References" fields.
Definition: aggregation.h:87
A set of aggregation options that can be applied to the MessageList::Model in a single shot...
Definition: aggregation.h:43
A set of options that can be applied to the MessageList in one shot.
Definition: optionset.h:47
virtual void save(QDataStream &stream) const
Pure virtual reimplemented from OptionSet.
Definition: aggregation.cpp:189
Thread by all of the above and try to match subjects too.
Definition: aggregation.h:88
static QList< QPair< QString, int > > enumerateFillViewStrategyOptions()
Enumerates the fill view strategies.
Definition: aggregation.cpp:263
Perform no threading at all.
Definition: aggregation.h:85
Makes sense only with GroupByDate or GroupByDateRange.
Definition: aggregation.h:73
Group the messages by the date of the thread leader.
Definition: aggregation.h:55
Thread by "In-Reply-To" field only.
Definition: aggregation.h:86
virtual bool load(QDataStream &stream)
Pure virtual reimplemented from OptionSet.
Definition: aggregation.cpp:76
Never expand groups during a view fill algorithm.
Definition: aggregation.h:72
Use smart (thread leader) date ranges ("Today","Yesterday","Last Week"...)
Definition: aggregation.h:56
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:239
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:99
void append(const T &value)
Expand all threads (this might be very slow)
Definition: aggregation.h:114
Expand threads with unread messages (this includes new)
Definition: aggregation.h:113
Group by receiver, always.
Definition: aggregation.h:59
All groups are expanded as they are inserted.
Definition: aggregation.h:74
static QList< QPair< QString, int > > enumerateThreadExpandPolicyOptions(Threading t)
Enumerates the thread expand policies compatible with the specified Threading option.
Definition: aggregation.cpp:251
Do larger chunks of work, zero intervals between chunks.
Definition: aggregation.h:127
Expand threads with "hot" messages (this includes new, unread, important, todo)
Definition: aggregation.h:115
Never expand any thread, this is fast.
Definition: aggregation.h:111
static QList< QPair< QString, int > > enumerateThreadingOptions()
Enumerates the available threading method options.
Definition: aggregation.cpp:229
The thread grouping is computed from the most recent message.
Definition: aggregation.h:100
Do small chunks of work, small intervals between chunks to allow for UI event processing.
Definition: aggregation.h:126
DEPRECATED. New message status no longer exists.
Definition: aggregation.h:112
static QList< QPair< QString, int > > enumerateGroupExpandPolicyOptions(Grouping g)
Enumerates the group sort direction options compatible with the specified Grouping.
Definition: aggregation.cpp:217
Do one large chunk, no interactivity at all.
Definition: aggregation.h:128
Group by sender (incoming) or receiver (outgoing) field.
Definition: aggregation.h:57
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:204
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
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.