Update default context menu for controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1058 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -81,18 +81,37 @@ public:
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
void addDefaultActions( QMenu * _menu );
|
||||
|
||||
|
||||
QString m_description;
|
||||
QString m_unit;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
|
||||
class automatableModelViewSlots : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
automatableModelViewSlots(
|
||||
automatableModelView * _amv,
|
||||
QObject * _parent );
|
||||
|
||||
public slots:
|
||||
void execConnectionDialog( void );
|
||||
void removeConnection( void );
|
||||
|
||||
protected:
|
||||
automatableModelView * amv;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
|
||||
#define generateTypedModelView(type) \
|
||||
class EXPORT type##ModelView : public automatableModelView \
|
||||
{\
|
||||
|
||||
@@ -100,7 +100,6 @@ public:
|
||||
public slots:
|
||||
virtual void enterValue( void );
|
||||
void connectToMidiDevice( void );
|
||||
void connectToController( void );
|
||||
void displayHelp( void );
|
||||
void friendlyUpdate( void );
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ public:
|
||||
return "MIDI Controller";
|
||||
}
|
||||
|
||||
|
||||
|
||||
virtual void processInEvent( const midiEvent & _me,
|
||||
const midiTime & _time,
|
||||
bool _lock = TRUE );
|
||||
|
||||
Reference in New Issue
Block a user