Commit 80ef808b authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger
Browse files

UserFileVersionHandler: Api clean up, rename functions

Also rename class from UserFileVersionHandler to VersionUpgrader
userFileVersion -> version
displayUserFileVersion -> backupExtension
update -> upgrade

Change-Id: I2641b6eaee13aa07380a3ccf0e4c13d61f18f920
Reviewed-by: default avatarTobias Hunger <>
parent 92ff9f90
......@@ -40,7 +40,7 @@ namespace ProjectExplorer {
class Project;
namespace Internal { class UserFileVersionHandler; }
namespace Internal { class VersionUpgrader; }
class SettingsAccessor
......@@ -55,7 +55,7 @@ public:
// Takes ownership of the handler!
void addVersionHandler(Internal::UserFileVersionHandler *handler);
void addVersionUpgrader(Internal::VersionUpgrader *handler);
QStringList findSettingsFiles(const QString &suffix) const;
static QByteArray creatorId();
......@@ -114,7 +114,7 @@ private:
mutable Utils::PersistentSettingsWriter *m_writer;
QMap<int, Internal::UserFileVersionHandler *> m_handlers;
QMap<int, Internal::VersionUpgrader *> m_handlers;
int m_firstVersion;
int m_lastVersion;
const FileAccessor m_userFileAcessor;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment