57    static QString resolveProfilesFolder( 
const QString &basePath = QString() );
 
   70    QgsUserProfile *getProfile( 
const QString &defaultProfile = 
"default", 
bool createNew = 
true, 
bool initSettings = 
true ) 
SIP_FACTORY;
 
   77    void setRootLocation( 
const QString &rootProfileLocation );
 
   95    void setNewProfileNotificationEnabled( 
bool enabled );
 
  104    bool isNewProfileNotificationEnabled() 
const;
 
  110    bool rootLocationIsSet() 
const;
 
  115    QStringList allProfiles() 
const;
 
  121    bool profileExists( 
const QString &name ) 
const;
 
  131    QString defaultProfileName() 
const;
 
  138    void setDefaultProfileName( 
const QString &name );
 
  143    void setDefaultFromActive();
 
  149    QString lastProfileName() 
const;
 
  155    void updateLastProfileName() 
SIP_SKIP;
 
  161    Qgis::UserProfileSelectionPolicy userProfileSelectionPolicy() const;
 
  168    void setUserProfileSelectionPolicy( 
Qgis::UserProfileSelectionPolicy policy );
 
  182    QgsError createUserProfile( const QString &name );
 
  190    QgsError deleteProfile( const QString &name );
 
  205    void setActiveUserProfile( const QString &profile );
 
  211    void loadUserProfile( const QString &name );
 
  217    QSettings *settings();
 
  230    void profilesChanged();
 
  234    bool mWatchProfiles = false;
 
  235    std::unique_ptr<QFileSystemWatcher> mWatcher;
 
  237    QString mRootProfilePath;
 
  241    QString settingsFile() const;
 
  243    std::unique_ptr< QSettings > mSettings;