--- qsampler/trunk/src/qsamplerInstrumentListForm.h 2007/11/19 19:57:51 1491 +++ qsampler/trunk/src/qsamplerInstrumentListForm.h 2007/11/19 21:08:18 1492 @@ -35,6 +35,7 @@ Q_OBJECT public: MidiInstrumentsModel model; + MidiInstrumentsDelegate delegate; InstrumentListForm(QWidget* parent = 0, Qt::WindowFlags flags = 0); ~InstrumentListForm(); @@ -49,6 +50,12 @@ void showEvent(QShowEvent* pShowEvent); void hideEvent(QHideEvent* pHideEvent); +protected slots: + void editInstrument(); + void editInstrument(const QModelIndex& index); + void newInstrument(); + void deleteInstrument(); + private: Ui::qsamplerInstrumentListForm ui; };