QGIS API Documentation
2.6.0-Brighton
|
A class to describe the version of a project. More...
#include <qgsprojectversion.h>
Public Member Functions | |
QgsProjectVersion () | |
~QgsProjectVersion () | |
QgsProjectVersion (int major, int minor, int sub, QString name="") | |
QgsProjectVersion (QString string) | |
int | majorVersion () |
int | minorVersion () |
int | subVersion () |
QString | text () |
bool | operator== (const QgsProjectVersion &other) |
bool | operator>= (const QgsProjectVersion &other) |
bool | operator> (const QgsProjectVersion &other) |
A class to describe the version of a project.
Used in places where you need to check if the current version of QGIS is greater than the one used to create a project file.
|
inline |
|
inline |
QgsProjectVersion::QgsProjectVersion | ( | int | major, |
int | minor, | ||
int | sub, | ||
QString | name = "" |
||
) |
QgsProjectVersion::QgsProjectVersion | ( | QString | string | ) |
|
inline |
|
inline |
bool QgsProjectVersion::operator== | ( | const QgsProjectVersion & | other | ) |
Boolean equal operator
bool QgsProjectVersion::operator> | ( | const QgsProjectVersion & | other | ) |
Boolean > operator
bool QgsProjectVersion::operator>= | ( | const QgsProjectVersion & | other | ) |
Boolean >= operator
|
inline |
QString QgsProjectVersion::text | ( | void | ) |