KNewStuff
8#include "knewstuffcore_export.h"
12Q_NAMESPACE_EXPORT(KNEWSTUFFCORE_EXPORT)
14struct SearchRequestPrivate;
38KNEWSTUFFCORE_EXPORT QDebug operator<<(QDebug,
const class SearchRequest &);
44class KNEWSTUFFCORE_EXPORT SearchRequest
47 SearchRequest(SortMode sortMode_ = KNSCore::SortMode::Downloads,
48 Filter filter_ = KNSCore::Filter::None,
49 const QString &searchTerm_ = {},
54 [[nodiscard]] SortMode sortMode()
const;
55 [[nodiscard]] Filter filter()
const;
56 [[nodiscard]]
QString searchTerm()
const;
58 [[nodiscard]]
int page()
const;
59 [[nodiscard]]
int pageSize()
const;
60 [[nodiscard]] SearchRequest nextPage()
const;
63 friend class ResultsStream;
64 friend class AtticaProvider;
65 friend class AtticaRequester;
66 friend class StaticXmlProvider;
67 friend class OPDSProvider;
69 friend QDebug KNSCore::operator<<(
QDebug,
const SearchRequest &);
70 std::shared_ptr<SearchRequestPrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:44 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.