--- qsampler/trunk/src/qsamplerDevice.h 2019/06/30 16:58:30 3518 +++ qsampler/trunk/src/qsamplerDevice.h 2019/08/13 10:19:32 3555 @@ -58,12 +58,12 @@ public: // Constructor. - DeviceParam(lscp_param_info_t *pParamInfo = NULL, - const char *pszValue = NULL); + DeviceParam(lscp_param_info_t *pParamInfo = nullptr, + const char *pszValue = nullptr); // Initializer. void setParam(lscp_param_info_t *pParamInfo, - const char *pszValue = NULL); + const char *pszValue = nullptr); // Info structure field members. lscp_type_t type; @@ -263,7 +263,7 @@ public: - AbstractDeviceParamModel(QObject *pParent = NULL); + AbstractDeviceParamModel(QObject *pParent = nullptr); // Overridden methods from subclass(es) int rowCount(const QModelIndex& parent = QModelIndex()) const; @@ -293,7 +293,7 @@ public: - DeviceParamModel(QObject *pParent = NULL); + DeviceParamModel(QObject *pParent = nullptr); // Overridden methods from subclass(es) QVariant data(const QModelIndex &index, int role) const; @@ -351,7 +351,7 @@ public: - DeviceParamDelegate(QObject *pParent = NULL); + DeviceParamDelegate(QObject *pParent = nullptr); QWidget* createEditor(QWidget *pParent, const QStyleOptionViewItem& option, const QModelIndex& index) const;