mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Getter and Setter for the config file name.
This commit is contained in:
parent
9e3d22af2d
commit
ee9e814f41
2 changed files with 17 additions and 0 deletions
|
@ -319,6 +319,16 @@ void Folder::slotLocalPathChanged( const QString& dir )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Folder::setConfigFile( const QString& file )
|
||||||
|
{
|
||||||
|
_configFile = file;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Folder::configFile()
|
||||||
|
{
|
||||||
|
return _configFile;
|
||||||
|
}
|
||||||
|
|
||||||
void Folder::setBackend( const QString& b )
|
void Folder::setBackend( const QString& b )
|
||||||
{
|
{
|
||||||
_backend = b;
|
_backend = b;
|
||||||
|
|
|
@ -137,6 +137,12 @@ public:
|
||||||
*/
|
*/
|
||||||
QString backend() const;
|
QString backend() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the config file name.
|
||||||
|
*/
|
||||||
|
void setConfigFile( const QString& );
|
||||||
|
QString configFile();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is called if the sync folder definition is removed. Do cleanups here.
|
* This is called if the sync folder definition is removed. Do cleanups here.
|
||||||
*/
|
*/
|
||||||
|
@ -199,6 +205,7 @@ private:
|
||||||
QString _alias;
|
QString _alias;
|
||||||
bool _onlyOnlineEnabled;
|
bool _onlyOnlineEnabled;
|
||||||
bool _onlyThisLANEnabled;
|
bool _onlyThisLANEnabled;
|
||||||
|
QString _configFile;
|
||||||
|
|
||||||
QFileSystemWatcher *_pathWatcher;
|
QFileSystemWatcher *_pathWatcher;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue