QGIS API Documentation  2.17.0-Master (0497e4a)
Classes | Functions
qgsproject.h File Reference
#include <memory>
#include "qgsprojectversion.h"
#include <QHash>
#include <QList>
#include <QObject>
#include <QPair>
#include <QFileInfo>
#include "qgssnapper.h"
#include "qgstolerance.h"
#include "qgsunittypes.h"
Include dependency graph for qgsproject.h:

Go to the source code of this file.

Classes

class  QgsProject
 Reads and writes project states. More...
 
class  QgsProjectBadLayerDefaultHandler
 Default bad layer handler which ignores any missing layers. More...
 
class  QgsProjectBadLayerHandler
 Interface for classes that handle missing layer files when reading project file. More...
 

Functions

CORE_EXPORT QgsProjectVersion getVersion (QDomDocument const &doc)
 Return the version string found in the given DOM document. More...
 

Function Documentation

§ getVersion()

CORE_EXPORT QgsProjectVersion getVersion ( QDomDocument const &  doc)

Return the version string found in the given DOM document.

Returns
the version string or an empty string if none found

Definition at line 579 of file qgsproject.cpp.