move #endif directive in private header files

This commit is contained in:
laserpants 2016-05-12 23:55:19 +03:00
parent 58f157db4b
commit d0959864e7
2 changed files with 4 additions and 4 deletions

View File

@ -38,6 +38,8 @@ public:
int trackWidth; int trackWidth;
}; };
#endif // SLIDER_P_H
SliderPrivate::SliderPrivate(Slider *parent) SliderPrivate::SliderPrivate(Slider *parent)
: q_ptr(parent), : q_ptr(parent),
thumb(new SliderThumb(parent)), thumb(new SliderThumb(parent)),
@ -127,5 +129,3 @@ void SliderPrivate::setHovered(bool status)
q->update(); q->update();
} }
} }
#endif // SLIDER_P_H

View File

@ -18,6 +18,8 @@ public:
QHash<QString, QColor> colors; QHash<QString, QColor> colors;
}; };
#endif // THEME_P_H
ThemePrivate::ThemePrivate(Theme *parent) ThemePrivate::ThemePrivate(Theme *parent)
: q_ptr(parent) : q_ptr(parent)
{ {
@ -29,5 +31,3 @@ QColor ThemePrivate::rgba(int r, int g, int b, qreal a) const
color.setAlphaF(a); color.setAlphaF(a);
return color; return color;
} }
#endif // THEME_P_H