KGAPI2::FeedData

Search for usage in LXR

KGAPI2::FeedData Class Reference

#include <types.h>

Public Attributes

int itemsPerPage
 
QUrl nextPageUrl
 
QUrl requestUrl
 
int startIndex
 
QString syncToken
 
int totalResults
 

Detailed Description

Structure to store additional information about a feed.

Definition at line 23 of file types.h.

Constructor & Destructor Documentation

◆ FeedData()

KGAPI2::FeedData::FeedData ( )
inlineexplicit

Definition at line 26 of file types.h.

Member Data Documentation

◆ itemsPerPage

int KGAPI2::FeedData::itemsPerPage

Number of items per feed page.

This will be same for all pages (except for the last one which can be shorter).

Definition at line 34 of file types.h.

◆ nextPageUrl

QUrl KGAPI2::FeedData::nextPageUrl

Link to next page of feed.

Definition at line 38 of file types.h.

◆ requestUrl

QUrl KGAPI2::FeedData::requestUrl

Original URL of the request.

This value is filled by AccessManager when passing the structure to a service

Definition at line 39 of file types.h.

◆ startIndex

int KGAPI2::FeedData::startIndex

Index of first item on current feed page.

Definition at line 33 of file types.h.

◆ syncToken

QString KGAPI2::FeedData::syncToken

Sync token that can be used for incremental updates by some of the services.

Definition at line 42 of file types.h.

◆ totalResults

int KGAPI2::FeedData::totalResults

Number of all items.

Definition at line 37 of file types.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.