 |
Sayonara Player
|
29 #include "Utils/Pimpl.h"
30 #include "Utils/Library/SearchMode.h"
60 bool operator==(
const Filter& other);
static QString text(Mode mode)
Get an human readable string for the mode.
QStringList filtertext(bool with_percent) const
get splitted filtertext with or without percent. Needed for file search for example where cissearch i...
void setFiltertext(const QString &str, SearchModeMask search_mode)
set comma separated filtertext. Usually this is the string found at the search box in the library
bool cleared() const
Is the searchterm empty?
QStringList searchModeFiltertext(bool with_percent) const
get splitted filtertext with or without percent but converts the search string suitable for cissearch...
The Filter class.
Definition: Filter.h:41
Filter::Mode mode() const
Returns the filtermode.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
void clear()
Clear the searchterm. We are not looking for an invalid genre, too.
bool isInvalidGenre() const
Is the invalid genre mode active?
void setMode(Filter::Mode mode)
Sets the Filter::Mode.
bool isUseable() const
Invalid mode is not usable. Invalid genre means, that this is a valid query -> Usable....
void setInvalidGenre(bool b)
Sets a genre, which is not searched directly. This is meant to fetch all tracks which contains no gen...