QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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.
 
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 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: