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

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

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

revision 1558 by capela, Thu Dec 6 09:35:33 2007 UTC revision 3555 by capela, Tue Aug 13 10:19:32 2019 UTC
# Line 1  Line 1 
1  // qsamplerChannel.h  // qsamplerChannel.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2019, 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 155  public: Line 155  public:
155          static QString loadingInstrument();          static QString loadingInstrument();
156    
157          // Check whether a given file is an instrument file.          // Check whether a given file is an instrument file.
158          static bool isInstrumentFile (const QString& sInstrumentFile);          static bool isDlsInstrumentFile (const QString& sInstrumentFile);
159            static bool isSf2InstrumentFile (const QString& sInstrumentFile);
160    
161          // Retrieve the available instrument name(s) of an instrument file (.gig).          // Retrieve the available instrument name(s) of an instrument file (.gig).
162          static QString getInstrumentName (const QString& sInstrumentFile,          static QString getInstrumentName (const QString& sInstrumentFile,
# Line 205  class ChannelRoutingModel : public QAbst Line 206  class ChannelRoutingModel : public QAbst
206          Q_OBJECT          Q_OBJECT
207  public:  public:
208    
209          ChannelRoutingModel(QObject* pParent = NULL);          ChannelRoutingModel(QObject* pParent = nullptr);
210    
211          // overridden methods from subclass(es)          // overridden methods from subclass(es)
212          int rowCount(const QModelIndex& parent = QModelIndex()) const;          int rowCount(const QModelIndex& parent = QModelIndex()) const;
# Line 244  class ChannelRoutingDelegate : public QI Line 245  class ChannelRoutingDelegate : public QI
245    
246  public:  public:
247    
248          ChannelRoutingDelegate(QObject* pParent = NULL);          ChannelRoutingDelegate(QObject* pParent = nullptr);
249    
250          QWidget* createEditor(QWidget *pParent,          QWidget* createEditor(QWidget *pParent,
251                  const QStyleOptionViewItem& option, const QModelIndex& index) const;                  const QStyleOptionViewItem& option, const QModelIndex& index) const;

Legend:
Removed from v.1558  
changed lines
  Added in v.3555

  ViewVC Help
Powered by ViewVC