/[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 2070 by capela, Mon Mar 15 17:06:46 2010 UTC
# Line 35  class Instrument; Line 35  class Instrument;
35    
36  class InstrumentListModel : public QAbstractItemModel  class InstrumentListModel : public QAbstractItemModel
37  {  {
         Q_OBJECT  
   
38  public:  public:
39    
40          // Constructor.          // Constructor.
# Line 59  public: Line 57  public:
57    
58          // Own methods          // Own methods
59          const Instrument *addInstrument(int iMap, int iBank, int iProg);          const Instrument *addInstrument(int iMap, int iBank, int iProg);
60          void removeInstrument(const Instrument *pInstrument);          void removeInstrument(Instrument *pInstrument);
61          void updateInstrument(const Instrument *pInstrument);          void updateInstrument(Instrument *pInstrument);
62            void resortInstrument(Instrument *pInstrument);
63    
64          // General reloader.          // General reloader.
65          void refresh();          void refresh();
# Line 95  private: Line 94  private:
94    
95  class InstrumentListView : public QTreeView  class InstrumentListView : public QTreeView
96  {  {
         Q_OBJECT  
   
97  public:  public:
98    
99          // Constructor.          // Constructor.
100          InstrumentListView(QWidget *pParent = 0);          InstrumentListView(QWidget *pParent = NULL);
101    
102          // Destructor.          // Destructor.
103          ~InstrumentListView();          ~InstrumentListView();
# Line 111  public: Line 108  public:
108    
109          // Own methods          // Own methods
110          const Instrument *addInstrument(int iMap, int iBank, int iProg);          const Instrument *addInstrument(int iMap, int iBank, int iProg);
111          void removeInstrument(const Instrument *pInstrument);          void removeInstrument(Instrument *pInstrument);
112          void updateInstrument(const Instrument *pInstrument);          void updateInstrument(Instrument *pInstrument);
113            void resortInstrument(Instrument *pInstrument);
114    
115          // General reloader.          // General reloader.
116          void refresh();          void refresh();

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

  ViewVC Help
Powered by ViewVC