KNewStuff
provider.h
128 AllEntries, ///< preset indicating all possible entries, such as a crawlable list. Might be intense to load.
virtual void loadEntries(const KNSCore::Provider::SearchRequest &request)=0
load the given search and return given page
virtual void loadBasics()
Request loading of the basic information for this provider.
Definition provider.h:244
virtual bool setProviderXML(const QDomElement &xmldata)=0
Set the provider data xml, to initialize the provider.
virtual void loadComments(const KNSCore::Entry &, int, int)
Request a loading of comments from this provider.
Definition provider.h:205
void personLoaded(const std::shared_ptr< KNSCore::Author > author)
Fired when the details of a person have been loaded.
void commentsLoaded(const QList< std::shared_ptr< KNSCore::Comment > > comments)
Fired when new comments have been loaded.
virtual QString id() const =0
A unique Id for this provider (the url in most cases)
SearchPresetTypes
The SearchPresetTypes enum the preset type enum is a helper to identify the kind of label and icon th...
Definition provider.h:116
@ AllEntries
preset indicating all possible entries, such as a crawlable list. Might be intense to load.
Definition provider.h:128
@ Recommended
preset for recommended. This may be customized by the server per user.
Definition provider.h:123
void basicsLoaded()
Fired when the provider's basic information has been fetched and updated.
virtual void loadPerson(const QString &)
Request loading of the details for a specific person with the given username.
Definition provider.h:218
void searchPresetsLoaded(const QList< KNSCore::Provider::SearchPreset > &presets)
Fires when the provider has loaded search presets.
Describes a category: id/name/displayName.
Definition provider.h:104
Describes a search request that may come from the provider.
Definition provider.h:135
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 13 2024 11:51:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 13 2024 11:51:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.