| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/core/articlelistnotificationmodel.h`/ |
| 2 | |
| 3 | #ifndef ARTICLELISTNOTIFICATIONMODEL_H |
| 4 | #define ARTICLELISTNOTIFICATIONMODEL_Hcxx . . $ `src/librssguard/core/articlelistnotificationmodel.h:4:9`! |
| 5 | |
| 6 | #include "core/message.h"cxx . . $ `<file>/src/librssguard/core/message.h`/ |
| 7 | |
| 8 | #include <QAbstractListModel> |
| 9 | |
| 10 | class ArticleListNotificationModelcxx . . $ ArticleListNotificationModel# : public QAbstractListModelcxx . . $ QAbstractListModel# { |
| 11 | Q_OBJECTcxx . . $ ArticleListNotificationModel#staticMetaObject. |
| 12 | |
| 13 | public: |
| 14 | explicit ArticleListNotificationModelcxx . . $ ArticleListNotificationModel#ArticleListNotificationModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent = nullptr); |
| 15 | virtual ~cxx . . $ ArticleListNotificationModel#`~ArticleListNotificationModel`(ced63f7c635d850d).ArticleListNotificationModelcxx . . $ ArticleListNotificationModel#(); |
| 16 | |
| 17 | void setArticlescxx . . $ ArticleListNotificationModel#setArticles(2ca5a41c5027f22d).(const QListcxx . . $ QList#<Messagecxx . . $ Message#>& msgs); |
| 18 | |
| 19 | Messagecxx . . $ Message# messagecxx . . $ ArticleListNotificationModel#message(a029b2e5d25672da).(const QModelIndexcxx . . $ QModelIndex#& idx) const; |
| 20 | |
| 21 | void nextPagecxx . . $ ArticleListNotificationModel#nextPage(49f6e7a06ebc5aa8).(); |
| 22 | void previousPagecxx . . $ ArticleListNotificationModel#previousPage(49f6e7a06ebc5aa8).(); |
| 23 | |
| 24 | virtual int rowCountcxx . . $ ArticleListNotificationModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex#& parent) const; |
| 25 | virtual int columnCountcxx . . $ ArticleListNotificationModel#columnCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex#& parent) const; |
| 26 | virtual QVariantcxx . . $ QVariant# datacxx . . $ ArticleListNotificationModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex#& index, int role) const; |
| 27 | |
| 28 | void reloadWholeLayoutcxx . . $ ArticleListNotificationModel#reloadWholeLayout(49f6e7a06ebc5aa8).(); |
| 29 | |
| 30 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 31 | void nextPagePossibleChangedcxx . . $ ArticleListNotificationModel#nextPagePossibleChanged(b45ddcbc8423892c).(bool possible); |
| 32 | void previousPagePossibleChangedcxx . . $ ArticleListNotificationModel#previousPagePossibleChanged(b45ddcbc8423892c).(bool possible); |
| 33 | |
| 34 | private: |
| 35 | bool nextPageAvailablecxx . . $ ArticleListNotificationModel#nextPageAvailable(50ce9a9e25b4a850).() const; |
| 36 | bool previousPageAvailablecxx . . $ ArticleListNotificationModel#previousPageAvailable(50ce9a9e25b4a850).() const; |
| 37 | |
| 38 | private: |
| 39 | QListcxx . . $ QList#<Messagecxx . . $ Message#> m_articlescxx . . $ ArticleListNotificationModel#m_articles.; |
| 40 | int m_currentPagecxx . . $ ArticleListNotificationModel#m_currentPage.; |
| 41 | }; |
| 42 | |
| 43 | #endif // ARTICLELISTNOTIFICATIONMODEL_H |