KNSCore::SearchPreset
KNSCore::SearchPreset Class Reference
#include <searchpreset.h>
Public Types | |
enum class | Type { NoPresetType = 0 , GoBack , Root , Start , Popular , Featured , Recommended , Shelf , Subscription , New , FolderUp , AllEntries } |
Public Member Functions | |
QString | displayName () const |
QString | iconName () const |
QString | providerId () const |
SearchRequest | request () const |
Type | type () const |
Detailed Description
Describes a search request that may come from the provider.
This is used by the OPDS provider to handle the different urls.
- Since
- 6.9
Definition at line 24 of file searchpreset.h.
Member Enumeration Documentation
◆ Type
|
strong |
The SearchPresetTypes enum the preset type enum is a helper to identify the kind of label and icon the search preset should have if none are found.
- Since
- 6.9
Definition at line 33 of file searchpreset.h.
Member Function Documentation
◆ displayName()
|
nodiscard |
Definition at line 31 of file searchpreset.cpp.
◆ iconName()
|
nodiscard |
Definition at line 36 of file searchpreset.cpp.
◆ providerId()
|
nodiscard |
Definition at line 46 of file searchpreset.cpp.
◆ request()
|
nodiscard |
Definition at line 26 of file searchpreset.cpp.
◆ type()
|
nodiscard |
Definition at line 41 of file searchpreset.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.