mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-04 12:15:58 +00:00
CResourceTableView: Make use of in-class initializers where applicable
This commit is contained in:
parent
8f440ae90e
commit
c118703ce5
@ -9,14 +9,15 @@ class CResourceTableView : public QTableView
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
CResourceTableModel *mpModel;
|
CResourceTableModel *mpModel = nullptr;
|
||||||
CResourceProxyModel *mpProxy;
|
CResourceProxyModel *mpProxy = nullptr;
|
||||||
QAction *mpDeleteAction;
|
QAction *mpDeleteAction = nullptr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CResourceTableView(QWidget *pParent = 0);
|
explicit CResourceTableView(QWidget *pParent = nullptr);
|
||||||
void setModel(QAbstractItemModel *pModel);
|
|
||||||
void dragEnterEvent(QDragEnterEvent *pEvent);
|
void setModel(QAbstractItemModel *pModel) override;
|
||||||
|
void dragEnterEvent(QDragEnterEvent *pEvent) override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void DeleteSelected();
|
void DeleteSelected();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user