--- a/src/configuration.cc Sun Jul 27 03:14:27 2014 +0300 +++ b/src/configuration.cc Sun Jul 27 04:25:50 2014 +0300 @@ -145,6 +145,20 @@ return new QSettings (path, QSettings::IniFormat); } +// +// Accessor to entry list +// +QList<AbstractConfigEntry*> const& Config::AllConfigEntries() +{ + return ConfigurationEntries; +} + +AbstractConfigEntry* Config::FindByName (QString const& name) +{ + auto it = EntriesByName.find (name); + return (it != EntriesByName.end()) ? *it : null; +} + template<typename T> static T* GetConfigByName (QString name, AbstractConfigEntry::Type type) {