made MIDI-port-menu work again

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@781 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-03-08 20:22:35 +00:00
parent b9f467cd97
commit 3158e80b92
6 changed files with 101 additions and 32 deletions

View File

@@ -55,17 +55,22 @@ public:
}
signals:
void readablePortsChanged( void );
void writeablePortsChanged( void );
public slots:
void midiPortModeChanged( void );
void updateMidiPortMode( void );
protected slots:
void inputChannelChanged( void );
void outputChannelChanged( void );
void defaultVelInChanged( void );
void defaultVelOutChanged( void );
void readablePortsChanged( void );
void writeablePortsChanged( void );
void updateInputChannel( void );
void updateOutputChannel( void );
void updateDefaultVelIn( void );
void updateDefaultVelOut( void );
void updateReadablePorts( void );
void updateWriteablePorts( void );
void activatedReadablePort( const descriptiveMidiPort & _port );
void activatedWriteablePort( const descriptiveMidiPort & _port );

View File

@@ -52,6 +52,9 @@ protected slots:
void activatedReadablePort( QAction * _item );
void activatedWriteablePort( QAction * _item );
void updateReadablePortsMenu( void );
void updateWriteablePortsMenu( void );
private:
virtual void modelChanged( void );

View File

@@ -261,6 +261,16 @@ public:
return( m_tabWidget );
}
instrumentTrack * model( void )
{
return( castModel<instrumentTrack>() );
}
const instrumentTrack * model( void ) const
{
return( castModel<instrumentTrack>() );
}
public slots:
void textChanged( const QString & _new_name );