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

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

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

revision 1667 by schoenebeck, Mon Feb 4 23:24:19 2008 UTC revision 2387 by capela, Sat Dec 29 00:21:11 2012 UTC
# Line 1  Line 1 
1  // qsamplerFxSendList.h  // qsamplerFxSendList.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4       Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2008, Christian Schoenebeck     Copyright (C) 2008, 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 44  public: Line 45  public:
45                  int role = Qt::DisplayRole) const;                  int role = Qt::DisplayRole) const;
46          Qt::ItemFlags flags(const QModelIndex& index) const;          Qt::ItemFlags flags(const QModelIndex& index) const;
47    
         // Make the following method public  
         QAbstractListModel::reset;  
   
48          // Own methods          // Own methods
49          FxSend* addFxSend();          FxSend* addFxSend();
50          FxSend* fxSend(const QModelIndex& index);          FxSend* fxSend(const QModelIndex& index);
# Line 58  signals: Line 56  signals:
56  public slots:  public slots:
57          void cleanRefresh();          void cleanRefresh();
58          void applyToSampler();          void applyToSampler();
59            // not pretty, but more efficient than wiring connections for each element
60            void onExternalModifiication(const QModelIndex& index);
61    
62  private:  private:
63          typedef QList<FxSend> FxSendsList;          typedef QList<FxSend> FxSendsList;

Legend:
Removed from v.1667  
changed lines
  Added in v.2387

  ViewVC Help
Powered by ViewVC