87 QList< QgsNewsFeedParser::Entry > entries()
const;
96 void dismissEntry(
int key );
107 QString authcfg()
const;
112 static QString keyForFeed(
const QString &baseUrl );
140 void fetched(
const QList< QgsNewsFeedParser::Entry > &entries );
166 void onFetch(
const QString &content );
173 qint64 mFetchStartTime = 0;
174 QString mSettingsKey;
176 QList< Entry > mEntries;
177 bool mBlockSignals =
false;
179 void readStoredEntries();
180 Entry readEntryFromSettings(
int key );
181 void storeEntryInSettings(
const Entry &entry );
182 void fetchImageForEntry(
const Entry &entry );
184 friend class TestQgsNewsFeedParser;
HTTP network content fetcher.
Represents a single entry from a news feed.
QString content
HTML content of news entry.
QUrl link
Optional URL link for entry.
QString imageUrl
Optional URL for image associated with entry.
QDateTime expiry
Optional auto-expiry time for entry.
An integer settings entry.