| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/services/abstract/search.h`/ |
| 2 | |
| 3 | #ifndef SEARCH_H |
| 4 | #define SEARCH_Hcxx . . $ `src/librssguard/services/abstract/search.h:4:9`! |
| 5 | |
| 6 | #include "services/abstract/rootitem.h"cxx . . $ `<file>/src/librssguard/services/abstract/rootitem.h`/ |
| 7 | |
| 8 | #include <QColor> |
| 9 | |
| 10 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! Searchcxx . . $ Search# : public RootItemcxx . . $ RootItem# { |
| 11 | Q_OBJECTcxx . . $ Search#staticMetaObject. |
| 12 | |
| 13 | // Added for message filtering with labels. |
| 14 | Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QColor color READ color) |
| 15 | |
| 16 | public: |
| 17 | explicit Searchcxx . . $ Search#Search(f041c5f58b9268d).(const QStringcxx . . $ QString#& name, const QStringcxx . . $ QString#& filter, const QColorcxx . . $ QColor#& color, RootItemcxx . . $ RootItem#* parent_item = nullptr); |
| 18 | explicit Searchcxx . . $ Search#Search(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* parent_item = nullptr); |
| 19 | |
| 20 | QColorcxx . . $ QColor# colorcxx . . $ Search#color(6d62b116d5d1b12f).() const; |
| 21 | void setColorcxx . . $ Search#setColor(129a55e114526ad3).(const QColorcxx . . $ QColor#& color); |
| 22 | |
| 23 | QStringcxx . . $ QString# filtercxx . . $ Search#filter(6ef7b6c27b00b43d).() const; |
| 24 | void setFiltercxx . . $ Search#setFilter(3520e46b33348bf6).(const QStringcxx . . $ QString#& new_filter); |
| 25 | |
| 26 | void setCountOfAllMessagescxx . . $ Search#setCountOfAllMessages(d4f767463ce0a6b3).(int totalCount); |
| 27 | void setCountOfUnreadMessagescxx . . $ Search#setCountOfUnreadMessages(d4f767463ce0a6b3).(int unreadCount); |
| 28 | |
| 29 | virtual bool cleanMessagescxx . . $ Search#cleanMessages(efaadfb7dc14930a).(bool clear_only_read); |
| 30 | virtual QStringcxx . . $ QString# additionalTooltipcxx . . $ Search#additionalTooltip(6ef7b6c27b00b43d).() const; |
| 31 | virtual bool markAsReadUnreadcxx . . $ Search#markAsReadUnread(c2f07a1f8834328b).(ReadStatuscxx . . $ RootItem#ReadStatus# status); |
| 32 | virtual int countOfAllMessagescxx . . $ Search#countOfAllMessages(455f465bc33b4cdf).() const; |
| 33 | virtual int countOfUnreadMessagescxx . . $ Search#countOfUnreadMessages(455f465bc33b4cdf).() const; |
| 34 | virtual bool canBeEditedcxx . . $ Search#canBeEdited(50ce9a9e25b4a850).() const; |
| 35 | virtual bool canBeDeletedcxx . . $ Search#canBeDeleted(50ce9a9e25b4a850).() const; |
| 36 | virtual bool deleteItemcxx . . $ Search#deleteItem(c9857a73d68e59ba).(); |
| 37 | virtual void updateCountscxx . . $ Search#updateCounts(b45ddcbc8423892c).(bool including_total_count); |
| 38 | virtual QListcxx . . $ QList#<Messagecxx . . $ Message#> undeletedMessagescxx . . $ Search#undeletedMessages(96785ab56182243a).() const; |
| 39 | |
| 40 | private: |
| 41 | QStringcxx . . $ QString# m_filtercxx . . $ Search#m_filter.; |
| 42 | QColorcxx . . $ QColor# m_colorcxx . . $ Search#m_color.; |
| 43 | int m_totalCountcxx . . $ Search#m_totalCount. = -1; |
| 44 | int m_unreadCountcxx . . $ Search#m_unreadCount. = -1; |
| 45 | }; |
| 46 | |
| 47 | #endif // SEARCH_H |