folderman: make escapeAlias public as its now used in accountmigrator.

This commit is contained in:
Klaas Freitag 2014-06-12 16:47:58 +02:00
parent 5597ebe455
commit 8d3806b080

View file

@ -83,6 +83,8 @@ public:
void removeMonitorPath( const QString& alias, const QString& path ); void removeMonitorPath( const QString& alias, const QString& path );
void addMonitorPath( const QString& alias, const QString& path ); void addMonitorPath( const QString& alias, const QString& path );
QString escapeAlias( const QString& ) const;
signals: signals:
/** /**
* signal to indicate a folder named by alias has changed its sync state. * signal to indicate a folder named by alias has changed its sync state.
@ -130,7 +132,6 @@ private:
// Escaping of the alias which is used in QSettings AND the file // Escaping of the alias which is used in QSettings AND the file
// system, thus need to be escaped. // system, thus need to be escaped.
QString escapeAlias( const QString& ) const;
QString unescapeAlias( const QString& ) const; QString unescapeAlias( const QString& ) const;
void removeFolder( const QString& ); void removeFolder( const QString& );