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

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

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

revision 2064 by capela, Fri Mar 12 16:02:32 2010 UTC revision 3555 by capela, Tue Aug 13 10:19:32 2019 UTC
# Line 1  Line 1 
1  // qsamplerInstrumentList.h  // qsamplerInstrumentList.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2010, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2003-2019, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 40  class InstrumentListModel : public QAbst Line 40  class InstrumentListModel : public QAbst
40  public:  public:
41    
42          // Constructor.          // Constructor.
43          InstrumentListModel(QObject *pParent = NULL);          InstrumentListModel(QObject *pParent = nullptr);
44    
45          // Destructor.          // Destructor.
46          ~InstrumentListModel();          ~InstrumentListModel();
# Line 59  public: Line 59  public:
59    
60          // Own methods          // Own methods
61          const Instrument *addInstrument(int iMap, int iBank, int iProg);          const Instrument *addInstrument(int iMap, int iBank, int iProg);
62          void removeInstrument(const Instrument *pInstrument);          void removeInstrument(Instrument *pInstrument);
63          void updateInstrument(const Instrument *pInstrument);          void updateInstrument(Instrument *pInstrument);
64            void resortInstrument(Instrument *pInstrument);
65    
66          // General reloader.          // General reloader.
67          void refresh();          void refresh();
# Line 100  class InstrumentListView : public QTreeV Line 101  class InstrumentListView : public QTreeV
101  public:  public:
102    
103          // Constructor.          // Constructor.
104          InstrumentListView(QWidget *pParent = 0);          InstrumentListView(QWidget *pParent = nullptr);
105    
106          // Destructor.          // Destructor.
107          ~InstrumentListView();          ~InstrumentListView();
# Line 111  public: Line 112  public:
112    
113          // Own methods          // Own methods
114          const Instrument *addInstrument(int iMap, int iBank, int iProg);          const Instrument *addInstrument(int iMap, int iBank, int iProg);
115          void removeInstrument(const Instrument *pInstrument);          void removeInstrument(Instrument *pInstrument);
116          void updateInstrument(const Instrument *pInstrument);          void updateInstrument(Instrument *pInstrument);
117            void resortInstrument(Instrument *pInstrument);
118    
119          // General reloader.          // General reloader.
120          void refresh();          void refresh();

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

  ViewVC Help
Powered by ViewVC