MStyleWrapper: Use enum for StyleMode rather than Strings
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>
Tue, 10 Aug 2010 18:12:22 +0000 (15:12 -0300)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>
Fri, 13 Aug 2010 16:36:06 +0000 (13:36 -0300)
commit6dffe3e6cf74b32137f41cce4a1f86218036e79c
tree230ae0d2c496c4c96f1ab3e2ce31f3958259fbc8
parent720f84bf3f2b63ed5b762c13309f83a1ad78b682
MStyleWrapper: Use enum for StyleMode rather than Strings

Using enum to avoid string comparisson.

Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
src/MeeGo/Button.qml
src/MeeGo/CheckBox.qml
src/MeeGo/Slider.qml
src/MeeGo/TitleButton.qml
src/MeeGo/themebridge/mdeclarativeprimitive.cpp
src/MeeGo/themebridge/mstylewrapper.cpp
src/MeeGo/themebridge/mstylewrapper.h