QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
A proxy model for use with QgsNewsFeedModel. More...
#include <qgsnewsfeedmodel.h>
Public Member Functions | |
QgsNewsFeedProxyModel (QgsNewsFeedParser *parser, QObject *parent=nullptr) | |
Constructor for QgsNewsFeedProxyModel, with the specified parent object. | |
Protected Member Functions | |
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
A proxy model for use with QgsNewsFeedModel.
QgsNewsFeedProxyModel applies custom sorting to the entries in a QgsNewsFeedModel.
Definition at line 95 of file qgsnewsfeedmodel.h.
|
explicit |
Constructor for QgsNewsFeedProxyModel, with the specified parent object.
The parser argument must specify a valid QgsNewsFeedParser object, which must exist for the lifetime of this model.
Definition at line 174 of file qgsnewsfeedmodel.cpp.
|
overrideprotected |
Definition at line 184 of file qgsnewsfeedmodel.cpp.