- inline QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
- inline QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }
- inline int rowCount(const QModelIndex &parent = QModelIndex()) const { return parent.isValid() ? 0 : messageCount(); }
- inline int columnCount(const QModelIndex & /*parent*/ = QModelIndex()) const { return 3; }
+ inline QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
+ inline QModelIndex parent(const QModelIndex &) const override { return QModelIndex(); }
+ inline int rowCount(const QModelIndex &parent = QModelIndex()) const override { return parent.isValid() ? 0 : messageCount(); }
+ inline int columnCount(const QModelIndex & /*parent*/ = QModelIndex()) const override { return 3; }