KNewStuff

KNSCore::Provider::SearchRequest Struct Reference

#include <provider.h>

Public Member Functions

 SearchRequest (SortMode sortMode_=Downloads, Filter filter_=None, const QString &searchTerm_=QString(), const QStringList &categories_=QStringList(), int page_=-1, int pageSize_=20)
 
QString hashForRequest () const
 
bool operator== (const SearchRequest &other) const
 

Public Attributes

QStringList categories
 
Filter filter
 
int page
 
int pageSize
 
QString searchTerm
 
SortMode sortMode
 

Detailed Description

used to keep track of a search

Deprecated
since 6.9 Use KNSCore::SearchRequest

Definition at line 77 of file provider.h.

Constructor & Destructor Documentation

◆ SearchRequest()

KNSCore::Provider::SearchRequest::SearchRequest ( SortMode sortMode_ = Downloads,
Filter filter_ = None,
const QString & searchTerm_ = QString(),
const QStringList & categories_ = QStringList(),
int page_ = -1,
int pageSize_ = 20 )
inline

Definition at line 85 of file provider.h.

Member Function Documentation

◆ hashForRequest()

QString KNSCore::Provider::SearchRequest::hashForRequest ( ) const

Definition at line 25 of file provider.cpp.

◆ operator==()

bool KNSCore::Provider::SearchRequest::operator== ( const SearchRequest & other) const
inline

Definition at line 101 of file provider.h.

Member Data Documentation

◆ categories

QStringList KNSCore::Provider::SearchRequest::categories

Definition at line 81 of file provider.h.

◆ filter

Filter KNSCore::Provider::SearchRequest::filter

Definition at line 79 of file provider.h.

◆ page

int KNSCore::Provider::SearchRequest::page

Definition at line 82 of file provider.h.

◆ pageSize

int KNSCore::Provider::SearchRequest::pageSize

Definition at line 83 of file provider.h.

◆ searchTerm

QString KNSCore::Provider::SearchRequest::searchTerm

Definition at line 80 of file provider.h.

◆ sortMode

SortMode KNSCore::Provider::SearchRequest::sortMode

Definition at line 78 of file provider.h.


The documentation for this struct 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

KDE's Doxygen guidelines are available online.