Debian Codegraph @

src/librssguard/services/abstract/label.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/services/abstract/label.h`/
2
3 #ifndef LABEL_H
4 #define LABEL_Hcxx . . $ `src/librssguard/services/abstract/label.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`! Labelcxx . . $ Label# : public RootItemcxx . . $ RootItem# {
11 Q_OBJECTcxx . . $ Label#qt_staticMetaObjectContent.
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 Labelcxx . . $ Label#Label(db702bf7f1dcf973).(const QStringcxx . . $ QString#& name, const QColorcxx . . $ QColor#& color, RootItemcxx . . $ RootItem#* parent_item = nullptr);
18 explicit Labelcxx . . $ Label#Label(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* parent_item = nullptr);
19
20 QColorcxx . . $ QColor# colorcxx . . $ Label#color(6d62b116d5d1b12f).() const;
21 void setColorcxx . . $ Label#setColor(129a55e114526ad3).(const QColorcxx . . $ QColor#& color);
22
23 void setCountOfAllMessagescxx . . $ Label#setCountOfAllMessages(d4f767463ce0a6b3).(int totalCount);
24 void setCountOfUnreadMessagescxx . . $ Label#setCountOfUnreadMessages(d4f767463ce0a6b3).(int unreadCount);
25
26 virtual bool cleanMessagescxx . . $ Label#cleanMessages(efaadfb7dc14930a).(bool clear_only_read);
27 virtual bool markAsReadUnreadcxx . . $ Label#markAsReadUnread(c2f07a1f8834328b).(ReadStatuscxx . . $ RootItem#ReadStatus# status);
28 virtual int countOfAllMessagescxx . . $ Label#countOfAllMessages(455f465bc33b4cdf).() const;
29 virtual int countOfUnreadMessagescxx . . $ Label#countOfUnreadMessages(455f465bc33b4cdf).() const;
30 virtual bool canBeEditedcxx . . $ Label#canBeEdited(50ce9a9e25b4a850).() const;
31 virtual bool canBeDeletedcxx . . $ Label#canBeDeleted(50ce9a9e25b4a850).() const;
32 virtual bool deleteItemcxx . . $ Label#deleteItem(c9857a73d68e59ba).();
33 virtual void updateCountscxx . . $ Label#updateCounts(b45ddcbc8423892c).(bool including_total_count);
34 virtual QListcxx . . $ QList#<Messagecxx . . $ Message#> undeletedMessagescxx . . $ Label#undeletedMessages(96785ab56182243a).() const;
35
36 public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
37 void assignToMessagecxx . . $ Label#assignToMessage(55139daa7bc84358).(const Messagecxx . . $ Message#& msg, bool reload_model = true);
38 void deassignFromMessagecxx . . $ Label#deassignFromMessage(55139daa7bc84358).(const Messagecxx . . $ Message#& msg, bool reload_model = true);
39
40 private:
41 QColorcxx . . $ QColor# m_colorcxx . . $ Label#m_color.;
42 int m_totalCountcxx . . $ Label#m_totalCount.{};
43 int m_unreadCountcxx . . $ Label#m_unreadCount.{};
44 };
45
46 #endif // LABEL_H