QGIS API Documentation  3.11.0-Master (68611307d7)
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 46 of file qgsnewsfeedparser.h.

Member Data Documentation

◆ content

QString QgsNewsFeedParser::Entry::content

HTML content of news entry.

Definition at line 63 of file qgsnewsfeedparser.h.

◆ expiry

QDateTime QgsNewsFeedParser::Entry::expiry

Optional auto-expiry time for entry.

Definition at line 72 of file qgsnewsfeedparser.h.

◆ image

QPixmap QgsNewsFeedParser::Entry::image

Optional image data.

Definition at line 60 of file qgsnewsfeedparser.h.

◆ imageUrl

QString QgsNewsFeedParser::Entry::imageUrl

Optional URL for image associated with entry.

Definition at line 57 of file qgsnewsfeedparser.h.

◆ key

int QgsNewsFeedParser::Entry::key = 0

Unique entry identifier.

Definition at line 51 of file qgsnewsfeedparser.h.

◆ link

QUrl QgsNewsFeedParser::Entry::link

Optional URL link for entry.

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

◆ title

QString QgsNewsFeedParser::Entry::title

Entry title.

Definition at line 54 of file qgsnewsfeedparser.h.


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