diff options
Diffstat (limited to 'AppVersion.cpp')
-rw-r--r-- | AppVersion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/AppVersion.cpp b/AppVersion.cpp index 2db3da26..86b00920 100644 --- a/AppVersion.cpp +++ b/AppVersion.cpp @@ -17,9 +17,9 @@ #include "config.h" -Version Version::current(VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD); +AppVersion AppVersion::current(VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD); -Version::Version(int major, int minor, int revision, int build, QObject *parent) : +AppVersion::AppVersion(int major, int minor, int revision, int build, QObject *parent) : QObject(parent) { this->major = major; @@ -28,7 +28,7 @@ Version::Version(int major, int minor, int revision, int build, QObject *parent) this->build = build; } -Version::Version(const Version& ver) +AppVersion::AppVersion(const AppVersion& ver) { this->major = ver.major; this->minor = ver.minor; @@ -36,7 +36,7 @@ Version::Version(const Version& ver) this->build = ver.build; } -QString Version::toString() const +QString AppVersion::toString() const { return QString("%1.%2.%3.%4").arg( QString::number(major), |