/[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 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 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 95  private: Line 96  private:
96    
97  class InstrumentListView : public QTreeView  class InstrumentListView : public QTreeView
98  {  {
         Q_OBJECT  
   
99  public:  public:
100    
101          // Constructor.          // Constructor.
102          InstrumentListView(QWidget *pParent = 0);          InstrumentListView(QWidget *pParent = NULL);
103    
104          // Destructor.          // Destructor.
105          ~InstrumentListView();          ~InstrumentListView();
# Line 111  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.2064  
changed lines
  Added in v.2828

  ViewVC Help
Powered by ViewVC