QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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.
QDateTime expiry
 Optional auto-expiry time for entry.
QPixmap image
 Optional image data.
QString imageUrl
 Optional URL for image associated with entry.
int key = 0
 Unique entry identifier.
QUrl link
 Optional URL link for entry.
bool sticky = false
 true if entry is "sticky" and should always be shown at the top
QString title
 Entry title.

Detailed Description

Represents a single entry from a news feed.

Since
QGIS 3.10

Definition at line 69 of file qgsnewsfeedparser.h.

Member Data Documentation

◆ content

QString QgsNewsFeedParser::Entry::content

HTML content of news entry.

Definition at line 86 of file qgsnewsfeedparser.h.

◆ expiry

QDateTime QgsNewsFeedParser::Entry::expiry

Optional auto-expiry time for entry.

Definition at line 95 of file qgsnewsfeedparser.h.

◆ image

QPixmap QgsNewsFeedParser::Entry::image

Optional image data.

Definition at line 83 of file qgsnewsfeedparser.h.

◆ imageUrl

QString QgsNewsFeedParser::Entry::imageUrl

Optional URL for image associated with entry.

Definition at line 80 of file qgsnewsfeedparser.h.

◆ key

int QgsNewsFeedParser::Entry::key = 0

Unique entry identifier.

Definition at line 74 of file qgsnewsfeedparser.h.

◆ link

QUrl QgsNewsFeedParser::Entry::link

Optional URL link for entry.

Definition at line 89 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 92 of file qgsnewsfeedparser.h.

◆ title

QString QgsNewsFeedParser::Entry::title

Entry title.

Definition at line 77 of file qgsnewsfeedparser.h.


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