#include <qgsscaleutils.h>
|
static bool | loadScaleList (const QString &fileName, QStringList &scales, QString &errorMessage) |
| Load scales from the given file.
|
|
static bool | saveScaleList (const QString &fileName, const QStringList &scales, QString &errorMessage) |
| Save scales to the given file.
|
|
Definition at line 27 of file qgsscaleutils.h.
◆ loadScaleList()
bool QgsScaleUtils::loadScaleList |
( |
const QString & |
fileName, |
|
|
QStringList & |
scales, |
|
|
QString & |
errorMessage |
|
) |
| |
|
static |
Load scales from the given file.
- Parameters
-
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 |
- Returns
true
on success and false
if failed
Definition at line 48 of file qgsscaleutils.cpp.
◆ saveScaleList()
bool QgsScaleUtils::saveScaleList |
( |
const QString & |
fileName, |
|
|
const QStringList & |
scales, |
|
|
QString & |
errorMessage |
|
) |
| |
|
static |
Save scales to the given file.
- Parameters
-
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 |
- Returns
true
on success and false
if failed
Definition at line 22 of file qgsscaleutils.cpp.
The documentation for this class was generated from the following files: