messagelist
filter.h
Go to the documentation of this file.
void setCurrentFolder(const Akonadi::Collection &collection)
Sets the current folder of this filter.
Definition: filter.cpp:106
Definition: messageitem.h:46
void finished()
const QString & searchString() const
Returns the currently set search string.
Definition: filter.h:78
void setStatus(const QList< Akonadi::MessageStatus > &lstStatus)
Sets the status mask for this filter.
Definition: filter.h:67
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
const QString & tagId() const
Returns the currently set MessageItem::Tag id.
Definition: filter.h:89
bool match(const MessageItem *item) const
Returns true if the specified parameters match this filter and false otherwise.
Definition: filter.cpp:48
This class is responsable of matching messages that should be displayed in the View.
Definition: filter.h:44
QuickSearchLine::SearchOptions currentOptions() const
Definition: filter.cpp:111
QObject * parent() const
QList< Akonadi::MessageStatus > status() const
Returns the currently set status mask.
Definition: filter.h:61
void setTagId(const QString &tagId)
Sets the id of a MessageItem::Tag that the matching messages must contain.
Definition: filter.h:95
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.