| 
    QGIS API Documentation
    2.18.21-Las Palmas (9fba24a)
    
   | 
 
A class to describe the version of a project. More...
#include <qgsprojectversion.h>
Public Member Functions | |
| QgsProjectVersion () | |
| QgsProjectVersion (int major, int minor, int sub, const QString &name="") | |
| QgsProjectVersion (const QString &string) | |
| ~QgsProjectVersion () | |
| int | majorVersion () | 
| int | minorVersion () | 
| bool | operator!= (const QgsProjectVersion &other) const | 
| Boolean equal operator.  More... | |
| bool | operator== (const QgsProjectVersion &other) const | 
| Boolean equal operator.  More... | |
| bool | operator> (const QgsProjectVersion &other) const | 
| Boolean > operator.  More... | |
| bool | operator>= (const QgsProjectVersion &other) const | 
| Boolean >= operator.  More... | |
| int | subVersion () | 
| QString | text () | 
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.
Definition at line 30 of file qgsprojectversion.h.
      
  | 
  inline | 
Definition at line 35 of file qgsprojectversion.h.
      
  | 
  inline | 
Definition at line 40 of file qgsprojectversion.h.
| QgsProjectVersion::QgsProjectVersion | ( | int | major, | 
| int | minor, | ||
| int | sub, | ||
| const QString & | name = ""  | 
        ||
| ) | 
Definition at line 24 of file qgsprojectversion.cpp.
| QgsProjectVersion::QgsProjectVersion | ( | const QString & | string | ) | 
Definition at line 32 of file qgsprojectversion.cpp.
      
  | 
  inline | 
Definition at line 43 of file qgsprojectversion.h.
      
  | 
  inline | 
Definition at line 44 of file qgsprojectversion.h.
| bool QgsProjectVersion::operator!= | ( | const QgsProjectVersion & | other | ) | const | 
Boolean equal operator.
Definition at line 67 of file qgsprojectversion.cpp.
| bool QgsProjectVersion::operator== | ( | const QgsProjectVersion & | other | ) | const | 
Boolean equal operator.
Definition at line 58 of file qgsprojectversion.cpp.
| bool QgsProjectVersion::operator> | ( | const QgsProjectVersion & | other | ) | const | 
Boolean > operator.
Definition at line 85 of file qgsprojectversion.cpp.
| bool QgsProjectVersion::operator>= | ( | const QgsProjectVersion & | other | ) | const | 
Boolean >= operator.
Definition at line 76 of file qgsprojectversion.cpp.
      
  | 
  inline | 
Definition at line 45 of file qgsprojectversion.h.
| QString QgsProjectVersion::text | ( | ) | 
Definition at line 92 of file qgsprojectversion.cpp.
 1.8.13