QGIS API Documentation  3.27.0-Master (11ef3e5184)
Public Attributes | List of all members
QgsNewsFeedParser::Entry Class Reference

Represents a single entry from a news feed. More...

#include <qgsnewsfeedparser.h>

Public Attributes

QString content
 HTML content of news entry. More...
 
QDateTime expiry
 Optional auto-expiry time for entry. More...
 
QPixmap image
 Optional image data. More...
 
QString imageUrl
 Optional URL for image associated with entry. More...
 
int key = 0
 Unique entry identifier. More...
 
QUrl link
 Optional URL link for entry. More...
 
bool sticky = false
 true if entry is "sticky" and should always be shown at the top More...
 
QString title
 Entry title. More...
 

Detailed Description

Represents a single entry from a news feed.

Since
QGIS 3.10

Definition at line 47 of file qgsnewsfeedparser.h.

Member Data Documentation

◆ content

QString QgsNewsFeedParser::Entry::content

HTML content of news entry.

Definition at line 64 of file qgsnewsfeedparser.h.

◆ expiry

QDateTime QgsNewsFeedParser::Entry::expiry

Optional auto-expiry time for entry.

Definition at line 73 of file qgsnewsfeedparser.h.

◆ image

QPixmap QgsNewsFeedParser::Entry::image

Optional image data.

Definition at line 61 of file qgsnewsfeedparser.h.

◆ imageUrl

QString QgsNewsFeedParser::Entry::imageUrl

Optional URL for image associated with entry.

Definition at line 58 of file qgsnewsfeedparser.h.

◆ key

int QgsNewsFeedParser::Entry::key = 0

Unique entry identifier.

Definition at line 52 of file qgsnewsfeedparser.h.

◆ link

QUrl QgsNewsFeedParser::Entry::link

Optional URL link for entry.

Definition at line 67 of file qgsnewsfeedparser.h.

◆ sticky

bool QgsNewsFeedParser::Entry::sticky = false

true if entry is "sticky" and should always be shown at the top

Definition at line 70 of file qgsnewsfeedparser.h.

◆ title

QString QgsNewsFeedParser::Entry::title

Entry title.

Definition at line 55 of file qgsnewsfeedparser.h.


The documentation for this class was generated from the following file: