77 void title( QString
const & title );
80 QString
const & title()
const;
98 void setFileName( QString
const & name );
101 QString fileName()
const;
131 bool read( QFileInfo
const & file );
148 bool read( QDomNode & layerNode );
161 bool write( QFileInfo
const & file );
198 void clearProperties();
209 bool writeEntry( QString
const & scope,
const QString & key,
bool value );
210 bool writeEntry( QString
const & scope,
const QString & key,
double value );
211 bool writeEntry( QString
const & scope,
const QString & key,
int value );
212 bool writeEntry( QString
const & scope,
const QString & key,
const QString & value );
213 bool writeEntry( QString
const & scope,
const QString & key,
const QStringList & value );
225 QStringList readListEntry( QString
const & scope,
const QString & key,
bool * ok = 0 )
const;
227 QString readEntry( QString
const & scope,
const QString & key,
const QString & def = QString::null,
bool * ok = 0 )
const;
228 int readNumEntry( QString
const & scope,
const QString & key,
int def = 0,
bool * ok = 0 )
const;
229 double readDoubleEntry( QString
const & scope,
const QString & key,
double def = 0,
bool * ok = 0 )
const;
230 bool readBoolEntry( QString
const & scope,
const QString & key,
bool def =
false,
bool * ok = 0 )
const;
235 bool removeEntry( QString
const & scope,
const QString & key );
242 QStringList entryList( QString
const & scope, QString
const & key )
const;
248 QStringList subkeyList( QString
const & scope, QString
const & key )
const;
256 void dumpProperties()
const;
261 QString writePath( QString filename )
const;
265 QString readPath( QString filename )
const;
269 QString error()
const;
280 void setError( QString errorMessage );
289 void readProject(
const QDomDocument & );
292 void writeProject( QDomDocument & );
295 void oldProjectVersionWarning( QString );
300 void layerLoaded(
int i,
int n );
311 std::auto_ptr<Imp>
imp_;
315 QPair< bool, QList<QDomNode> > _getMapLayers( QDomDocument
const &doc );
329 virtual void handleBadLayers( QList<QDomNode> layers, QDomDocument projectDom ) = 0;
339 virtual void handleBadLayers( QList<QDomNode> layers, QDomDocument projectDom );