Commit a965e813 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

CalendarDecoration::StoredElement: tag property getters with Q_REQUIRED_RESULT

The nodiscard property is not inherited, so needs to be repeated explicitly
parent 761e7aec
Pipeline #72880 passed with stage
in 6 minutes and 29 seconds
......@@ -107,19 +107,19 @@ public:
StoredElement(const QString &id, const QPixmap &pixmap);
virtual void setShortText(const QString &t);
QString shortText() const override;
Q_REQUIRED_RESULT QString shortText() const override;
virtual void setLongText(const QString &t);
QString longText() const override;
Q_REQUIRED_RESULT QString longText() const override;
virtual void setExtensiveText(const QString &t);
QString extensiveText() const override;
Q_REQUIRED_RESULT QString extensiveText() const override;
virtual void setPixmap(const QPixmap &p);
virtual QPixmap pixmap() const;
Q_REQUIRED_RESULT virtual QPixmap pixmap() const;
virtual void setUrl(const QUrl &u);
QUrl url() const override;
Q_REQUIRED_RESULT QUrl url() const override;
protected:
QString mShortText;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment