Controller for finding specific records.
More...
#include <findrecordcontroller.h>
|
| void | progressChanged (const QString title, const QString text, const int currentValue, const int maximumValue) const |
| | Progress of the current search operation has changed. More...
|
| |
| void | searchResultChanged (const QString &title, const Tome::SearchResultList results) const |
| | A search has been completed. More...
|
| |
Controller for finding specific records.
◆ FindRecordController()
| FindRecordController::FindRecordController |
( |
const RecordsController & |
recordsController | ) |
|
Constructs a new controller for finding specific records.
- Parameters
-
| recordsController | Controller for adding, updating and removing records. |
◆ findRecord()
| const SearchResultList FindRecordController::findRecord |
( |
const QString & |
searchPattern | ) |
const |
Searches for records whose id or display name contain the specified string.
- Parameters
-
| searchPattern | String to search for. |
- Returns
- Records whose id or display name contain the specified string.
◆ progressChanged
| void Tome::FindRecordController::progressChanged |
( |
const QString |
title, |
|
|
const QString |
text, |
|
|
const int |
currentValue, |
|
|
const int |
maximumValue |
|
) |
| const |
|
signal |
Progress of the current search operation has changed.
- Parameters
-
| title | Title of the current search operation step. |
| text | Details of the current search operation step. |
| currentValue | Current progress value of the current search operation step. |
| maximumValue | Maximum progress value of the current search operation step. |
◆ searchResultChanged
| void Tome::FindRecordController::searchResultChanged |
( |
const QString & |
title, |
|
|
const Tome::SearchResultList |
results |
|
) |
| const |
|
signal |
A search has been completed.
- Parameters
-
| title | Title of the search operation. |
| results | Results of the search operation. |
The documentation for this class was generated from the following files:
- Source/Tome/Features/Search/Controller/findrecordcontroller.h
- Source/Tome/Features/Search/Controller/findrecordcontroller.cpp