Large update. Added Video, Image and Live item views. Added Live search

This commit is contained in:
Digital Artifex
2026-08-05 19:58:24 -04:00
parent 5b2500c841
commit e5627742d2
46 changed files with 3416 additions and 578 deletions
@@ -62,35 +62,35 @@ public:
return m_uri;
}
/**
* @brief query
* Current query string, if the API Endpoint supports queries
* @return
*/
[[nodiscard]]
auto query() const -> QString
{
return m_query;
}
// /**
// * @brief query
// * Current query string, if the API Endpoint supports queries
// * @return
// */
// [[nodiscard]]
// auto query() const -> QString
// {
// return m_query;
// }
/**
* @brief setQuery
* Sets the new query string and updates the controller
* @param query
*/
auto setQuery(const QString &query) -> void
{
if(query == m_query)
{
return;
}
// /**
// * @brief setQuery
// * Sets the new query string and updates the controller
// * @param query
// */
// auto setQuery(const QString &query) -> void
// {
// if(query == m_query)
// {
// return;
// }
m_query = query;
Q_EMIT queryChanged();
// m_query = query;
// Q_EMIT queryChanged();
reset();
setOffset(0);
}
// reset();
// setOffset(0);
// }
signals:
/**
@@ -120,7 +120,7 @@ protected:
{}
);
if(queryable() && query().isEmpty())
if(queryable() && query().isEmpty())
{
return {};
}
@@ -139,7 +139,7 @@ protected:
{
{
QByteArray("query"),
m_query.toUtf8()
query().toUtf8()
},
{
QByteArray("offset"),
@@ -303,11 +303,11 @@ private:
*/
QString m_uri;
/**
* @brief m_query
* The query string used in fetch operations
*/
QString m_query;
// /**
// * @brief m_query
// * The query string used in fetch operations
// */
// QString m_query;
};
#endif // WALLPAPERPAGINATOR_H