QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsscaleutils.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgscaleutils.h
3  ----------------------
4  begin : July 2012
5  copyright : (C) 2012 by Alexander Bruy
6  email : alexander dot bruy at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #include <QString>
17 #include <QStringList>
18 
19 #ifndef QGSSCALEUTILS_H
20 #define QGSSCALEUTILS_H
21 
22 class CORE_EXPORT QgsScaleUtils
23 {
24  public:
32  static bool saveScaleList( const QString &fileName, const QStringList &scales, QString &errorMessage );
33 
41  static bool loadScaleList( const QString &fileName, QStringList &scales, QString &errorMessage );
42 };
43 
44 #endif