QGIS/python/core/auto_generated/qgsprojectversion.sip.in

61 lines
1.9 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsprojectversion.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsProjectVersion
{
%Docstring
2017-12-15 10:36:55 -04:00
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.
%End
%TypeHeaderCode
#include "qgsprojectversion.h"
%End
public:
QgsProjectVersion();
%Docstring
2017-12-15 10:36:55 -04:00
Creates a new NULL version
%End
QgsProjectVersion( int major, int minor, int sub, const QString &name = "" );
QgsProjectVersion( const QString &string );
int majorVersion();
int minorVersion();
int subVersion();
QString text();
2016-12-19 22:07:55 +01:00
bool isNull() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns true if this is a NULL project version.
%End
2015-10-27 14:51:52 +11:00
bool operator==( const QgsProjectVersion &other ) const;
bool operator!=( const QgsProjectVersion &other ) const;
2015-10-27 14:51:52 +11:00
bool operator>=( const QgsProjectVersion &other ) const;
2015-10-27 14:51:52 +11:00
bool operator>( const QgsProjectVersion &other ) const;
};
2017-09-25 14:20:39 +10:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsprojectversion.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/