Class sh::search::Search¶
-
class
sh::search
::
Search
: public QObject, public std::enable_shared_from_this<Search>¶ A search object represents one search request the user made.
Public Functions
-
~Search
()¶
-
std::shared_ptr<const sh::filesystem::Eurl>
eurl
()¶ Returns the eurl containg the search configuration.
-
std::shared_ptr<sh::filesystem::FilesystemNode>
searchnode
()¶ Returns the root node of the search (the one named like ‘Search …’).
-
void
search
()¶ Start the searching.
-
bool
isSearching
()¶ Returns if the search is currently in progress.
Signals
-
void
isSearchingChanged
()¶ Triggers when Search::isSearching changes.
Private Functions
Private Members
-
std::shared_ptr<const sh::filesystem::Eurl>
_eurl
¶
-
std::shared_ptr<sh::filesystem::FilesystemNode>
_searchnode
¶
-
sh::search::SearchConfiguration *
_config
¶
-
QHash<std::shared_ptr<const sh::filesystem::Eurl>, std::shared_ptr<sh::filesystem::FilesystemNode>>
_dirs
¶
-
QMutex
_isSearchingMutex
¶
-
bool
_isSearching
= false¶
-
bool
_isSearchAgain
= false¶
-