QGIS API Documentation
2.0.1-Dufour
|
#include <qgsscaleutils.h>
Static Public Member Functions | |
static bool | saveScaleList (const QString &fileName, const QStringList &scales, QString &errorMessage) |
save scales to the given file | |
static bool | loadScaleList (const QString &fileName, QStringList &scales, QString &errorMessage) |
load scales from the given file |
Definition at line 22 of file qgsscaleutils.h.
|
static |
load scales from the given file
fileName | the name of the file to process |
scales | it will contain loaded scales |
errorMessage | it will contain the error message if something went wrong |
Definition at line 48 of file qgsscaleutils.cpp.
References file.
|
static |
save scales to the given file
fileName | the name of the output file |
scales | the list of scales to save |
errorMessage | it will contain the error message if something went wrong |
Definition at line 22 of file qgsscaleutils.cpp.
References file.