delete all _p

This commit is contained in:
ShootingStarDragons 2022-07-15 14:05:50 +08:00
parent a8647ea67a
commit 3a224a0990
6 changed files with 3 additions and 94 deletions

View File

@ -1,7 +1,7 @@
#ifndef QTMATERIALCHECKBOX_P_H
#define QTMATERIALCHECKBOX_P_H
#include "lib/qtmaterialcheckable_p.h"
#include "materiallib/qtmaterialcheckable_p.h"
class QtMaterialCheckBox;

View File

@ -1,7 +1,7 @@
#ifndef QTMATERIALRADIOBUTTON_P_H
#define QTMATERIALRADIOBUTTON_P_H
#include "lib/qtmaterialcheckable_p.h"
#include "materiallib/qtmaterialcheckable_p.h"
class QtMaterialRadioButton;

View File

@ -1,43 +0,0 @@
#ifndef QTMATERIALCHECKABLE_P_H
#define QTMATERIALCHECKABLE_P_H
#include "lib/qtmaterialcheckable.h"
#include <QtGlobal>
class QStateMachine;
class QState;
class QSignalTransition;
class QtMaterialRippleOverlay;
class QtMaterialCheckableIcon;
class QtMaterialCheckablePrivate
{
Q_DISABLE_COPY(QtMaterialCheckablePrivate)
Q_DECLARE_PUBLIC(QtMaterialCheckable)
public:
QtMaterialCheckablePrivate(QtMaterialCheckable *q);
virtual ~QtMaterialCheckablePrivate();
void init();
QtMaterialCheckable *const q_ptr;
QtMaterialRippleOverlay *rippleOverlay;
QtMaterialCheckableIcon *checkedIcon;
QtMaterialCheckableIcon *uncheckedIcon;
QStateMachine *stateMachine;
QState *uncheckedState;
QState *checkedState;
QState *disabledUncheckedState;
QState *disabledCheckedState;
QSignalTransition *uncheckedTransition;
QSignalTransition *checkedTransition;
QtMaterialCheckable::LabelPosition labelPosition;
QColor checkedColor;
QColor uncheckedColor;
QColor textColor;
QColor disabledColor;
bool useThemeColors;
};
#endif // QTMATERIALCHECKABLE_P_H

View File

@ -1,7 +1,7 @@
#ifndef QTMATERIALSTYLE_H
#define QTMATERIALSTYLE_H
#include "lib/qtmaterialstyle_p.h"
#include "materiallib/qtmaterialstyle_p.h"
#include <QtWidgets/QCommonStyle>
#define MATERIAL_DISABLE_THEME_COLORS \

View File

@ -1,24 +0,0 @@
#ifndef QTMATERIALSTYLE_P_H
#define QTMATERIALSTYLE_P_H
#include <QtGlobal>
class QtMaterialStyle;
class QtMaterialTheme;
class QtMaterialStylePrivate
{
Q_DISABLE_COPY(QtMaterialStylePrivate)
Q_DECLARE_PUBLIC(QtMaterialStyle)
public:
QtMaterialStylePrivate(QtMaterialStyle *q);
~QtMaterialStylePrivate();
void init();
QtMaterialStyle *const q_ptr;
QtMaterialTheme *theme;
};
#endif // QTMATERIALSTYLE_P_H

View File

@ -1,24 +0,0 @@
#ifndef QTMATERIALTHEME_P_H
#define QTMATERIALTHEME_P_H
#include <QColor>
#include <QHash>
class QtMaterialTheme;
class QtMaterialThemePrivate
{
Q_DISABLE_COPY(QtMaterialThemePrivate)
Q_DECLARE_PUBLIC(QtMaterialTheme)
public:
QtMaterialThemePrivate(QtMaterialTheme *q);
~QtMaterialThemePrivate();
QColor rgba(int r, int g, int b, qreal a) const;
QtMaterialTheme *const q_ptr;
QHash<QString, QColor> colors;
};
#endif // QTMATERIALTHEME_P_H