forked from qt-creator/qt-creator
Android: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using modernize-use-equals-default modernize-use-transparent-functors Change-Id: I6c9e567edf16cf436c0e0c1239b40f74574a1096 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
committed by
Vikas Pachdha
parent
02a759d4f5
commit
be5c228e5b
@@ -55,10 +55,10 @@ public:
|
||||
QModelIndex indexForAvdName(const QString &avdName) const;
|
||||
|
||||
protected:
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
|
||||
private:
|
||||
AndroidDeviceInfoList m_list;
|
||||
@@ -69,8 +69,8 @@ class AndroidSettingsWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
// Todo: This would be so much simpler if it just used Utils::PathChooser!!!
|
||||
AndroidSettingsWidget(QWidget *parent = 0);
|
||||
~AndroidSettingsWidget();
|
||||
AndroidSettingsWidget(QWidget *parent = nullptr);
|
||||
~AndroidSettingsWidget() override;
|
||||
|
||||
void saveSettings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user