KAboutRelease Class
An individual release note of a program or plugin. This class was introduced in Qt 6.26. More...
- Header:
#include <KAboutRelease> - Since: Qt 6.26
- CMake:
find_package(KF6 REQUIRED COMPONENTS CoreAddons)
target_link_libraries(mytarget PRIVATE KF6::CoreAddons)
List of all members, including inherited members
Properties
- [read-only] date : QDate
- [read-only] description : QString
- [read-only] url : QUrl
- [read-only] version : QString
Public Functions
- QDate date() const
- QString description() const
- QString untranslatedDescription() const
- QUrl url() const
- QString version() const
Detailed Description
This represents an AppStream release note of an individual version.
See also https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html
Property Documentation
[read-only] date : QDate
Access functions:
QDatedate() const
[read-only] description : QString
Access functions:
QStringdescription() const
[read-only] url : QUrl
Access functions:
QUrlurl() const
[read-only] version : QString
Access functions:
QStringversion() const
Member Function Documentation
QDate KAboutRelease::date() const
Returns the date on which this version was released.
Note: Getter function for property date.
QString KAboutRelease::description() const
Returns the (translated) release notes.
This is provided as restricted rich text, following what the description tag in AppStream allows. This is suitable for consumption by Qt rich text labels.
Note: Getter function for property description.
QString KAboutRelease::untranslatedDescription() const
Returns the untranslated release notes.
This is not meant for displaying to users, but for detecting changes since the last display, when display release notes on development versions.
See also description
QUrl KAboutRelease::url() const
Returns a URL to a website with more information about the release.
Note: Getter function for property url.
QString KAboutRelease::version() const
Retursn the version this release note refers to.
Note: Getter function for property version.