- WebPreviewItem(const QUrl &url);
- virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
- virtual inline QRectF boundingRect() const { return _boundingRect; }
+ WebPreviewItem(const QUrl& url);
+ void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
+ inline QRectF boundingRect() const override { return _boundingRect; }