/[svn]/qsampler/trunk/src/qsamplerDevice.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerDevice.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3554 by capela, Sun Jun 30 16:58:30 2019 UTC revision 3555 by capela, Tue Aug 13 10:19:32 2019 UTC
# Line 58  class DeviceParam Line 58  class DeviceParam
58  public:  public:
59    
60          // Constructor.          // Constructor.
61          DeviceParam(lscp_param_info_t *pParamInfo = NULL,          DeviceParam(lscp_param_info_t *pParamInfo = nullptr,
62                  const char *pszValue = NULL);                  const char *pszValue = nullptr);
63    
64          // Initializer.          // Initializer.
65          void setParam(lscp_param_info_t *pParamInfo,          void setParam(lscp_param_info_t *pParamInfo,
66                  const char *pszValue = NULL);                  const char *pszValue = nullptr);
67    
68          // Info structure field members.          // Info structure field members.
69          lscp_type_t     type;          lscp_type_t     type;
# Line 263  class AbstractDeviceParamModel : public Line 263  class AbstractDeviceParamModel : public
263    
264  public:  public:
265    
266          AbstractDeviceParamModel(QObject *pParent = NULL);          AbstractDeviceParamModel(QObject *pParent = nullptr);
267    
268          // Overridden methods from subclass(es)          // Overridden methods from subclass(es)
269          int rowCount(const QModelIndex& parent = QModelIndex()) const;          int rowCount(const QModelIndex& parent = QModelIndex()) const;
# Line 293  class DeviceParamModel : public Abstract Line 293  class DeviceParamModel : public Abstract
293    
294  public:  public:
295    
296          DeviceParamModel(QObject *pParent = NULL);          DeviceParamModel(QObject *pParent = nullptr);
297    
298          // Overridden methods from subclass(es)          // Overridden methods from subclass(es)
299          QVariant data(const QModelIndex &index, int role) const;          QVariant data(const QModelIndex &index, int role) const;
# Line 351  class DeviceParamDelegate : public QItem Line 351  class DeviceParamDelegate : public QItem
351    
352  public:  public:
353    
354          DeviceParamDelegate(QObject *pParent = NULL);          DeviceParamDelegate(QObject *pParent = nullptr);
355    
356          QWidget* createEditor(QWidget *pParent,          QWidget* createEditor(QWidget *pParent,
357                  const QStyleOptionViewItem& option, const QModelIndex& index) const;                  const QStyleOptionViewItem& option, const QModelIndex& index) const;

Legend:
Removed from v.3554  
changed lines
  Added in v.3555

  ViewVC Help
Powered by ViewVC