clean up pimpl code
This commit is contained in:
parent
7c39d083bb
commit
5de589a271
|
@ -2,11 +2,6 @@
|
|||
#include <QDebug>
|
||||
#include "theme_p.h"
|
||||
|
||||
ThemePrivate::ThemePrivate(Theme *q)
|
||||
: q_ptr(q)
|
||||
{
|
||||
}
|
||||
|
||||
QColor ThemePrivate::rgba(int r, int g, int b, qreal a) const
|
||||
{
|
||||
QColor color(r, g, b);
|
||||
|
|
|
@ -9,7 +9,9 @@ class ThemePrivate
|
|||
Q_DECLARE_PUBLIC(Theme)
|
||||
|
||||
public:
|
||||
ThemePrivate(Theme *q);
|
||||
ThemePrivate(Theme *q)
|
||||
: q_ptr(q)
|
||||
{}
|
||||
|
||||
QColor rgba(int r, int g, int b, qreal a) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue