qt-material-widgets/lib/theme_p.h

24 lines
340 B
C
Raw Normal View History

2016-05-11 22:18:09 +00:00
#ifndef THEME_P_H
#define THEME_P_H
#include "theme.h"
class ThemePrivate
{
Q_DISABLE_COPY(ThemePrivate)
Q_DECLARE_PUBLIC(Theme)
public:
2016-05-17 12:41:23 +00:00
ThemePrivate(Theme *q)
: q_ptr(q)
{}
2016-05-11 22:18:09 +00:00
QColor rgba(int r, int g, int b, qreal a) const;
Theme *const q_ptr;
QHash<QString, QColor> colors;
};
2016-05-13 14:35:04 +00:00
#endif // THEME_P_H