QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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 70 of file qgsnewsfeedparser.h.

Member Data Documentation

◆ content

QString QgsNewsFeedParser::Entry::content

HTML content of news entry.

Definition at line 87 of file qgsnewsfeedparser.h.

◆ expiry

QDateTime QgsNewsFeedParser::Entry::expiry

Optional auto-expiry time for entry.

Definition at line 96 of file qgsnewsfeedparser.h.

◆ image

QPixmap QgsNewsFeedParser::Entry::image

Optional image data.

Definition at line 84 of file qgsnewsfeedparser.h.

◆ imageUrl

QString QgsNewsFeedParser::Entry::imageUrl

Optional URL for image associated with entry.

Definition at line 81 of file qgsnewsfeedparser.h.

◆ key

int QgsNewsFeedParser::Entry::key = 0

Unique entry identifier.

Definition at line 75 of file qgsnewsfeedparser.h.

◆ link

QUrl QgsNewsFeedParser::Entry::link

Optional URL link for entry.

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

◆ title

QString QgsNewsFeedParser::Entry::title

Entry title.

Definition at line 78 of file qgsnewsfeedparser.h.


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