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

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

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

revision 1499 by capela, Tue Nov 20 16:48:04 2007 UTC revision 1509 by capela, Thu Nov 22 11:10:44 2007 UTC
# Line 30  Line 30 
30    
31  namespace QSampler {  namespace QSampler {
32    
33  class InstrumentForm : public QDialog {  class InstrumentForm : public QDialog
34  Q_OBJECT  {
35            Q_OBJECT
36    
37  public:  public:
38      InstrumentForm(QWidget* parent = 0);  
39     ~InstrumentForm();          InstrumentForm(QWidget* pParent = NULL);
40      void setup(qsamplerInstrument* pInstrument);          ~InstrumentForm();
41    
42            void setup(qsamplerInstrument* pInstrument);
43    
44  public slots:  public slots:
45      void nameChanged(const QString& sName);  
46      void openInstrumentFile();          void nameChanged(const QString& sName);
47      void updateInstrumentName();          void openInstrumentFile();
48      void instrumentNrChanged();          void updateInstrumentName();
49      void accept();          void instrumentNrChanged();
50      void reject();          void accept();
51      void changed();          void reject();
52      void stabilizeForm();          void changed();
53            void stabilizeForm();
 protected:  
     qsamplerInstrument* m_pInstrument;  
     int m_iDirtySetup;  
     int m_iDirtyCount;  
     int m_iDirtyName;  
54    
55  private:  private:
56      Ui::qsamplerInstrumentForm ui;  
57            Ui::qsamplerInstrumentForm m_ui;
58    
59            qsamplerInstrument* m_pInstrument;
60            int m_iDirtySetup;
61            int m_iDirtyCount;
62            int m_iDirtyName;
63  };  };
64    
65  } // namespace QSampler  } // namespace QSampler

Legend:
Removed from v.1499  
changed lines
  Added in v.1509

  ViewVC Help
Powered by ViewVC