Mercurial > hg > svgui
comparison widgets/PluginPathConfigurator.h @ 1296:34b941921ac8 plugin-path-config
Use type keys as indices rather than labels
author | Chris Cannam |
---|---|
date | Fri, 08 Jun 2018 14:31:47 +0100 |
parents | 6dd15b5c14f9 |
children |
comparison
equal
deleted
inserted
replaced
1295:11888b7e193d | 1296:34b941921ac8 |
---|---|
68 | 68 |
69 PluginPathSetter::Paths m_paths; | 69 PluginPathSetter::Paths m_paths; |
70 PluginPathSetter::Paths m_defaultPaths; | 70 PluginPathSetter::Paths m_defaultPaths; |
71 | 71 |
72 void populate(); | 72 void populate(); |
73 void populateFor(QString type, int makeCurrent); | 73 void populateFor(PluginPathSetter::TypeKey, int makeCurrent); |
74 | |
75 QString getLabelFor(PluginPathSetter::TypeKey); | |
76 PluginPathSetter::TypeKey getKeyForLabel(QString label); | |
74 }; | 77 }; |
75 | 78 |
76 #endif | 79 #endif |
77 | 80 |
78 | 81 |