LcdSpinBox: adopt naming style convention

This commit is contained in:
Tobias Doerffel
2014-02-20 22:17:28 +01:00
parent 0e8d47cfe0
commit 2591378818
29 changed files with 99 additions and 99 deletions

View File

@@ -58,7 +58,7 @@
#include "math.h"
#include "knob.h"
#include "lcd_spinbox.h"
#include "LcdSpinBox.h"
#include "pixmap_button.h"
#include "tooltip.h"
@@ -578,7 +578,7 @@ opl2instrumentView::opl2instrumentView( Instrument * _instrument,
InstrumentView( _instrument, _parent )
{
/* Unnecessary?
m_patch = new lcdSpinBox( 3, this , "PRESET");
m_patch = new LcdSpinBox( 3, this , "PRESET");
m_patch->setLabel( "PRESET" );
m_patch->move( 100, 1 );
m_patch->setEnabled( true );

View File

@@ -29,7 +29,7 @@
#include "InstrumentView.h"
#include "opl.h"
#include "lcd_spinbox.h"
#include "LcdSpinBox.h"
#include "knob.h"
#include "pixmap_button.h"
@@ -140,7 +140,7 @@ class opl2instrumentView : public InstrumentView
public:
opl2instrumentView( Instrument * _instrument, QWidget * _parent );
virtual ~opl2instrumentView();
lcdSpinBox *m_patch;
LcdSpinBox *m_patch;
void modelChanged();
knob *op1_a_kn;

View File

@@ -113,8 +113,8 @@ patchesDialog::~patchesDialog()
// Dialog setup loader.
void patchesDialog::setup ( fluid_synth_t * pSynth, int iChan,
const QString & _chanName,
lcdSpinBoxModel * _bankModel,
lcdSpinBoxModel * _progModel,
LcdSpinBoxModel * _bankModel,
LcdSpinBoxModel * _progModel,
QLabel * _patchLabel )
{

View File

@@ -27,7 +27,7 @@
#define _PATCHES_DIALOG_H
#include "ui_patches_dialog.h"
#include "lcd_spinbox.h"
#include "LcdSpinBox.h"
#include <fluidsynth.h>
#include <QtGui/QWidget>
@@ -50,7 +50,7 @@ public:
void setup(fluid_synth_t *pSynth, int iChan, const QString & _chanName,
lcdSpinBoxModel * _bankModel, lcdSpinBoxModel * _progModel, QLabel *_patchLabel );
LcdSpinBoxModel * _bankModel, LcdSpinBoxModel * _progModel, QLabel *_patchLabel );
public slots:
@@ -85,8 +85,8 @@ private:
//int m_iDirtyCount;
int m_dirty;
lcdSpinBoxModel * m_bankModel;
lcdSpinBoxModel * m_progModel;
LcdSpinBoxModel * m_bankModel;
LcdSpinBoxModel * m_progModel;
QLabel *m_patchLabel;
};

View File

@@ -40,7 +40,7 @@
#include "patches_dialog.h"
#include "tooltip.h"
#include "lcd_spinbox.h"
#include "LcdSpinBox.h"
#include "embed.cpp"
@@ -832,12 +832,12 @@ sf2InstrumentView::sf2InstrumentView( Instrument * _instrument,
// LCDs
m_bankNumLcd = new lcdSpinBox( 3, "21pink", this );
m_bankNumLcd = new LcdSpinBox( 3, "21pink", this );
m_bankNumLcd->move(131, 62);
// m_bankNumLcd->addTextForValue( -1, "---" );
// m_bankNumLcd->setEnabled( false );
m_patchNumLcd = new lcdSpinBox( 3, "21pink", this );
m_patchNumLcd = new LcdSpinBox( 3, "21pink", this );
m_patchNumLcd->move(190, 62);
// m_patchNumLcd->addTextForValue( -1, "---" );
// m_patchNumLcd->setEnabled( false );

View File

@@ -33,7 +33,7 @@
#include "pixmap_button.h"
#include "InstrumentView.h"
#include "knob.h"
#include "lcd_spinbox.h"
#include "LcdSpinBox.h"
#include "led_checkbox.h"
#include "fluidsynth.h"
#include "SampleBuffer.h"
@@ -132,8 +132,8 @@ private:
int m_lastMidiPitchRange;
int m_channel;
lcdSpinBoxModel m_bankNum;
lcdSpinBoxModel m_patchNum;
LcdSpinBoxModel m_bankNum;
LcdSpinBoxModel m_patchNum;
FloatModel m_gain;
@@ -193,8 +193,8 @@ private:
pixmapButton * m_fileDialogButton;
pixmapButton * m_patchDialogButton;
lcdSpinBox * m_bankNumLcd;
lcdSpinBox * m_patchNumLcd;
LcdSpinBox * m_bankNumLcd;
LcdSpinBox * m_patchNumLcd;
QLabel * m_filenameLabel;
QLabel * m_patchLabel;