forked from qt-creator/qt-creator
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -30,7 +30,7 @@ class ConfigModelItemDelegate : public QStyledItemDelegate
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ConfigModelItemDelegate(const Utils::FileName &base, QObject *parent = nullptr);
|
||||
ConfigModelItemDelegate(const Utils::FilePath &base, QObject *parent = nullptr);
|
||||
|
||||
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const final;
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const final;
|
||||
|
||||
private:
|
||||
Utils::FileName m_base;
|
||||
Utils::FilePath m_base;
|
||||
QComboBox m_measurement;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user