refactoring

This commit is contained in:
fourtf
2017-04-12 17:46:44 +02:00
parent 8ef492d7ae
commit 96db82e867
114 changed files with 5554 additions and 3703 deletions
+14 -18
View File
@@ -11,40 +11,36 @@ class ScrollBarHighlight
public:
enum Style { Default, Left, Right, SingleLine };
ScrollBarHighlight(float getPosition, int getColorIndex,
Style getStyle = Default, QString tag = "");
ScrollBarHighlight(float getPosition, int getColorIndex, Style getStyle = Default,
QString _tag = "");
Style
getStyle()
Style getStyle()
{
return style;
return _style;
}
float
getPosition()
float getPosition()
{
return position;
return _position;
}
int
getColorIndex()
int getColorIndex()
{
return colorIndex;
return _colorIndex;
}
QString
getTag()
QString getTag()
{
return tag;
return _tag;
}
ScrollBarHighlight *next;
private:
Style style;
float position;
int colorIndex;
QString tag;
Style _style;
float _position;
int _colorIndex;
QString _tag;
};
}
}