forked from qt-creator/qt-creator
QmlJSEditor: Modernize
modernize-* Change-Id: I4dceb82c3904069a0d9848b2af61122d9282cb36 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -40,8 +40,8 @@ class SemanticInfoUpdater: public QThread
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SemanticInfoUpdater(QObject *parent = 0);
|
||||
virtual ~SemanticInfoUpdater();
|
||||
SemanticInfoUpdater(QObject *parent = nullptr);
|
||||
~SemanticInfoUpdater() override;
|
||||
|
||||
void abort();
|
||||
void update(const QmlJS::Document::Ptr &doc, const QmlJS::Snapshot &snapshot);
|
||||
@@ -51,7 +51,7 @@ signals:
|
||||
void updated(const QmlJSTools::SemanticInfo &semanticInfo);
|
||||
|
||||
protected:
|
||||
virtual void run();
|
||||
void run() override;
|
||||
|
||||
private:
|
||||
QmlJSTools::SemanticInfo makeNewSemanticInfo(const QmlJS::Document::Ptr &doc,
|
||||
|
||||
Reference in New Issue
Block a user