forked from qt-creator/qt-creator
QmlJSTools: Modernize
modernize-* Change-Id: Ifc270455ab7500d18798ac0130744662ad3303fb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -47,8 +47,8 @@ class QMLJSTOOLS_EXPORT IBundleProvider : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit IBundleProvider(QObject *parent = 0);
|
||||
~IBundleProvider();
|
||||
explicit IBundleProvider(QObject *parent = nullptr);
|
||||
~IBundleProvider() override;
|
||||
|
||||
static const QList<IBundleProvider *> allBundleProviders();
|
||||
|
||||
@@ -60,10 +60,10 @@ class QMLJSTOOLS_EXPORT BasicBundleProvider : public IBundleProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit BasicBundleProvider(QObject *parent = 0);
|
||||
explicit BasicBundleProvider(QObject *parent = nullptr);
|
||||
|
||||
virtual void mergeBundlesForKit(ProjectExplorer::Kit *kit, QmlJS::QmlLanguageBundles &bundles
|
||||
, const QHash<QString,QString> &replacements);
|
||||
void mergeBundlesForKit(ProjectExplorer::Kit *kit, QmlJS::QmlLanguageBundles &bundles,
|
||||
const QHash<QString,QString> &replacements) override;
|
||||
|
||||
static QmlJS::QmlBundle defaultBundle(const QString &bundleInfoName);
|
||||
static QmlJS::QmlBundle defaultQt5QtQuick2Bundle();
|
||||
|
||||
Reference in New Issue
Block a user