// For license of this file, see /LICENSE.md. #ifndef LABELSNODE_H #define LABELSNODE_H #include "services/abstract/label.h" #include "services/abstract/rootitem.h" class RSSGUARD_DLLSPEC LabelsNode : public RootItem { Q_OBJECT public: explicit LabelsNode(RootItem* parent_item = nullptr); QList labels() const; void loadLabels(const QList& labels); virtual QList undeletedMessages() const; virtual QList contextMenuFeedsList(); virtual void updateCounts(bool including_total_count); Label* labelById(const QString& custom_id); public slots: void createLabel(); private: QAction* m_actLabelNew; }; #endif // LABELSNODE_H