|
LibEngsas
|
Represents the version from an application. More...
#include <version.h>
Public Member Functions | |
| Version () | |
| Version (QString version) | |
| Version (int major, int minor, int patch, int rc) | |
| bool | isValid () const |
| QString | toString () const |
| void | setMajor (int value) |
| int | maj () const |
| Returns the major version. More... | |
| void | setMinor (int value) |
| int | min () const |
| Returns the minor version. More... | |
| void | setPatch (int value) |
| int | patch () const |
| void | setRc (int value) |
| int | rc () const |
| bool | operator== (const Version &rhs) const |
| bool | operator!= (const Version &rhs) const |
| bool | operator< (const Version &rhs) const |
| bool | operator<= (const Version &rhs) const |
| bool | operator> (const Version &rhs) const |
| bool | operator>= (const Version &rhs) const |
Static Public Member Functions | |
| static Version | fromString (QString versionString) |
Private Attributes | |
| int | myMajor |
| int | myMinor |
| int | myPatch |
| int | myRc |
Represents the version from an application.
It can handle strings like "0.2.1-rc2" or "0.3.2".
| Version::Version | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| Version::Version | ( | QString | version | ) |
Here is the call graph for this function:| Version::Version | ( | int | major, |
| int | minor, | ||
| int | patch, | ||
| int | rc | ||
| ) |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Version::isValid | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| int Version::maj | ( | ) | const |
Returns the major version.
Not named major, because conflicts with gnu_dev_major
Here is the caller graph for this function:| int Version::min | ( | ) | const |
Returns the minor version.
Not named minor, because conflicts with gnu_dev_minor.
Here is the caller graph for this function:| bool Version::operator!= | ( | const Version & | rhs | ) | const |
Here is the call graph for this function:| bool Version::operator< | ( | const Version & | rhs | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Version::operator<= | ( | const Version & | rhs | ) | const |
Here is the caller graph for this function:| bool Version::operator== | ( | const Version & | rhs | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Version::operator> | ( | const Version & | rhs | ) | const |
Here is the call graph for this function:| bool Version::operator>= | ( | const Version & | rhs | ) | const |
Here is the call graph for this function:| int Version::patch | ( | ) | const |
Here is the caller graph for this function:| int Version::rc | ( | ) | const |
Here is the caller graph for this function:| void Version::setMajor | ( | int | value | ) |
Here is the caller graph for this function:| void Version::setMinor | ( | int | value | ) |
Here is the caller graph for this function:| void Version::setPatch | ( | int | value | ) |
Here is the caller graph for this function:| void Version::setRc | ( | int | value | ) |
Here is the caller graph for this function:| QString Version::toString | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
1.8.8