mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-07 05:36:07 +00:00
WIntegralSpinBox: Make use of in-class initializers where applicable
This commit is contained in:
parent
d6cbc0d247
commit
fcf40ec18c
@ -7,9 +7,7 @@ WIntegralSpinBox::WIntegralSpinBox(QWidget *pParent) : QSpinBox(pParent)
|
|||||||
lineEdit()->installEventFilter(this);
|
lineEdit()->installEventFilter(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
WIntegralSpinBox::~WIntegralSpinBox()
|
WIntegralSpinBox::~WIntegralSpinBox() = default;
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void WIntegralSpinBox::wheelEvent(QWheelEvent *pEvent)
|
void WIntegralSpinBox::wheelEvent(QWheelEvent *pEvent)
|
||||||
{
|
{
|
||||||
|
@ -9,9 +9,10 @@ class WIntegralSpinBox : public QSpinBox
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit WIntegralSpinBox(QWidget *pParent);
|
explicit WIntegralSpinBox(QWidget *pParent);
|
||||||
~WIntegralSpinBox();
|
~WIntegralSpinBox() override;
|
||||||
void wheelEvent(QWheelEvent *pEvent);
|
|
||||||
bool eventFilter(QObject *pObj, QEvent *pEvent);
|
void wheelEvent(QWheelEvent* pEvent) override;
|
||||||
|
bool eventFilter(QObject* pObj, QEvent* pEvent) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WINTEGRALSPINBOX_H
|
#endif // WINTEGRALSPINBOX_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user