messagelist
filter.cpp
Go to the documentation of this file.
136 const QStringList searchListTmp = mSearchString.split(QLatin1Char(' '), QString::SkipEmptyParts);
167 //If the collection is virtual we're probably trying to filter the search collection, so we just search globally
void clear()
void setCurrentFolder(const Akonadi::Collection &collection)
Sets the current folder of this filter.
Definition: filter.cpp:106
Definition: messageitem.h:46
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
void finished()
int size() const
const QString & receiver() const
Returns the receiver associated to this item.
Definition: item.cpp:451
const QString & subject() const
Returns the subject associated to this Item.
Definition: item.cpp:471
QString & remove(int position, int n)
void clear()
bool isEmpty() const
bool isEmpty() const
QString trimmed() const
const Tag * findTag(const QString &szTagId) const
Returns Tag associated to this message that has the specified id or 0 if no such tag exists...
Definition: messageitem.cpp:305
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool isEmpty() const
Returns true if this filter is empty (0 status mask, empty search string and empty tag) and it's usel...
Definition: filter.cpp:83
void clear()
Clears this filter (sets status to 0, search string and tag id to empty strings)
Definition: filter.cpp:97
void setSearchString(const QString &search, QuickSearchLine::SearchOptions options)
Sets the search string for this filter.
Definition: filter.cpp:116
bool contains(QChar ch, Qt::CaseSensitivity cs) const
bool contains(const T &value) const
bool match(const MessageItem *item) const
Returns true if the specified parameters match this filter and false otherwise.
Definition: filter.cpp:48
int length() const
QuickSearchLine::SearchOptions currentOptions() const
Definition: filter.cpp:111
const Akonadi::MessageStatus & status() const
Returns the status associated to this Item.
Definition: item.cpp:401
void clear()
QList< Akonadi::MessageStatus > status() const
Returns the currently set status mask.
Definition: filter.h:61
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.