/[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 2066 by capela, Sat Mar 13 19:15:24 2010 UTC revision 2828 by capela, Wed Jul 22 21:28:27 2015 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-2015, 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 35  class Instrument; Line 35  class Instrument;
35    
36  class InstrumentListModel : public QAbstractItemModel  class InstrumentListModel : public QAbstractItemModel
37  {  {
38            Q_OBJECT
39    
40  public:  public:
41    
42          // Constructor.          // Constructor.
# Line 57  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 107  public: Line 110  public:
110    
111          // Own methods          // Own methods
112          const Instrument *addInstrument(int iMap, int iBank, int iProg);          const Instrument *addInstrument(int iMap, int iBank, int iProg);
113          void removeInstrument(const Instrument *pInstrument);          void removeInstrument(Instrument *pInstrument);
114          void updateInstrument(const Instrument *pInstrument);          void updateInstrument(Instrument *pInstrument);
115            void resortInstrument(Instrument *pInstrument);
116    
117          // General reloader.          // General reloader.
118          void refresh();          void refresh();

Legend:
Removed from v.2066  
changed lines
  Added in v.2828

  ViewVC Help
Powered by ViewVC