/[svn]/qsampler/trunk/src/qsamplerChannel.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannel.cpp

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

revision 759 by capela, Sun Aug 28 11:44:10 2005 UTC revision 824 by capela, Fri Dec 23 01:40:56 2005 UTC
# Line 32  Line 32 
32  #include "gig.h"  #include "gig.h"
33  #endif  #endif
34    
35  #define QSAMPLER_INSTRUMENT_MAX 8  #define QSAMPLER_INSTRUMENT_MAX 100
36    
37    
38  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
# Line 868  void qsamplerChannelRoutingTable::refres Line 868  void qsamplerChannelRoutingTable::refres
868  }  }
869    
870    
871    // Commit any pending editing.
872    void qsamplerChannelRoutingTable::flush (void)
873    {
874            if (QTable::isEditing())
875                QTable::endEdit(QTable::currEditRow(), QTable::currEditCol(), true, true);
876    }
877    
878    
879  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
880  // qsamplerChannelRoutingComboBox - Custom combo box for routing table.  // qsamplerChannelRoutingComboBox - Custom combo box for routing table.
881  //  //
# Line 875  void qsamplerChannelRoutingTable::refres Line 883  void qsamplerChannelRoutingTable::refres
883  // Constructor.  // Constructor.
884  qsamplerChannelRoutingComboBox::qsamplerChannelRoutingComboBox (  qsamplerChannelRoutingComboBox::qsamplerChannelRoutingComboBox (
885          QTable *pTable, const QStringList& list, const QPixmap& pixmap )          QTable *pTable, const QStringList& list, const QPixmap& pixmap )
886          : QTableItem(pTable, QTableItem::OnTyping, QString::null, pixmap),          : QTableItem(pTable, QTableItem::WhenCurrent, QString::null, pixmap),
887          m_list(list)          m_list(list)
888  {  {
889          m_iCurrentItem = 0;          m_iCurrentItem = 0;

Legend:
Removed from v.759  
changed lines
  Added in v.824

  ViewVC Help
Powered by ViewVC