diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2025-08-18 07:55:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-18 07:55:52 +0200 |
| commit | d52fcccb831b63dc1add068084369543d0a45246 (patch) | |
| tree | 3d3009a7e0ad3b477b64b349a1bdc7fd1e0d5f62 /src/modinforegular.h | |
| parent | 6c64236e2e7a8e2883b7656657e0fac329d5621b (diff) | |
Add author and uploader columns to mod list (#2269)
Diffstat (limited to 'src/modinforegular.h')
| -rw-r--r-- | src/modinforegular.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h index a408d966..062f3dd8 100644 --- a/src/modinforegular.h +++ b/src/modinforegular.h @@ -389,6 +389,36 @@ public: */ virtual void setNexusCategory(int category) override; + /** + * @return the author of the mod. + */ + virtual QString author() const override; + + /** + * @brief Set the author of the mod. + */ + virtual void setAuthor(const QString&) override; + + /** + * @return the name of the uploader of this mod. + */ + virtual QString uploader() const override; + + /** + * @brief Set the name of the uploader of this mod. + */ + virtual void setUploader(const QString&) override; + + /** + * @return the URL of the uploader of this mod's profile. + */ + virtual QString uploaderUrl() const override; + + /** + * @brief Set the URL of the uploader of this mod's profile. + */ + virtual void setUploaderUrl(const QString&) override; + virtual QStringList archives(bool checkOnDisk = false) override; virtual void setColor(QColor color) override; @@ -468,6 +498,9 @@ private: QDateTime m_LastNexusUpdate; QDateTime m_NexusLastModified; int m_NexusCategory; + QString m_Author; + QString m_Uploader; + QString m_UploaderUrl; QColor m_Color; |
