Q_OBJECT
public:
- TitleSetter(MainWin *parent);
+ TitleSetter(MainWin* parent);
protected slots:
- void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override;
- void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) override;
+ void currentChanged(const QModelIndex& current, const QModelIndex& previous) override;
+ void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) override;
private:
- MainWin *_mainWin;
- void changeWindowTitle(const QModelIndex &index);
+ MainWin* _mainWin;
+ void changeWindowTitle(const QModelIndex& index);
};
-
#endif