Changed constness of some functions

This commit is contained in:
Digital Artifex
2026-06-16 16:52:06 -04:00
parent b3f6e55198
commit d01f880338
+3 -3
View File
@@ -64,7 +64,7 @@ public:
* *
* Attempts to get the next page and notifies pageChanged * Attempts to get the next page and notifies pageChanged
*/ */
auto next() const -> void auto next() -> void
{ {
setOffset(m_offset + m_resultsPerPage); setOffset(m_offset + m_resultsPerPage);
} }
@@ -74,7 +74,7 @@ public:
* *
* Attempts to get the previous page and notifies pageChanged * Attempts to get the previous page and notifies pageChanged
*/ */
auto previous() const -> void auto previous() -> void
{ {
setOffset(m_offset - m_resultsPerPage); setOffset(m_offset - m_resultsPerPage);
} }
@@ -149,7 +149,7 @@ public:
* The total number of results as reported by the controller * The total number of results as reported by the controller
* @return * @return
*/ */
auto totalResults() -> qsizetype auto totalResults() const -> qsizetype
{ {
return m_cacheController.totalCount(); return m_cacheController.totalCount();
} }