Changeset View
Changeset View
Standalone View
Standalone View
libdiscover/resources/AbstractResourcesBackend.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
72 | class DISCOVERCOMMON_EXPORT AbstractResourcesBackend : public QObject | 72 | class DISCOVERCOMMON_EXPORT AbstractResourcesBackend : public QObject | ||
73 | { | 73 | { | ||
74 | Q_OBJECT | 74 | Q_OBJECT | ||
75 | Q_PROPERTY(QString name READ name CONSTANT) | 75 | Q_PROPERTY(QString name READ name CONSTANT) | ||
76 | Q_PROPERTY(QString displayName READ displayName CONSTANT) | 76 | Q_PROPERTY(QString displayName READ displayName CONSTANT) | ||
77 | Q_PROPERTY(AbstractReviewsBackend* reviewsBackend READ reviewsBackend CONSTANT) | 77 | Q_PROPERTY(AbstractReviewsBackend* reviewsBackend READ reviewsBackend CONSTANT) | ||
78 | Q_PROPERTY(int updatesCount READ updatesCount NOTIFY updatesCountChanged) | 78 | Q_PROPERTY(int updatesCount READ updatesCount NOTIFY updatesCountChanged) | ||
79 | Q_PROPERTY(bool isFetching READ isFetching NOTIFY fetchingChanged) | 79 | Q_PROPERTY(bool isFetching READ isFetching NOTIFY fetchingChanged) | ||
80 | Q_PROPERTY(QList<QAction*> messageActions READ messageActions CONSTANT) | ||||
80 | public: | 81 | public: | ||
81 | /** | 82 | /** | ||
82 | * Constructs an AbstractResourcesBackend | 83 | * Constructs an AbstractResourcesBackend | ||
83 | * @param parent the parent of the class (the object will be deleted when the parent gets deleted) | 84 | * @param parent the parent of the class (the object will be deleted when the parent gets deleted) | ||
84 | */ | 85 | */ | ||
85 | explicit AbstractResourcesBackend(QObject* parent = nullptr); | 86 | explicit AbstractResourcesBackend(QObject* parent = nullptr); | ||
86 | 87 | | |||
87 | /** | 88 | /** | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |