Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/dlgprefreplaygain.h

Go to the documentation of this file.
00001 /*
00002  * dlgprefreplaygain.h
00003  *
00004  *  Created on: 18/ott/2010
00005  *      Author: Vittorio Colao
00006  */
00007 
00008 #ifndef DLGPREFREPLAYGAIN_H_
00009 #define DLGPREFREPLAYGAIN_H_
00010 #include "ui_dlgprefreplaygaindlg.h"
00011 #include "configobject.h"
00012 #include "controlobjectthread.h"
00013 
00014 
00015 class QWidget;
00016 
00017 class DlgPrefReplayGain: public QWidget, public Ui::DlgPrefReplayGainDlg  {
00018     Q_OBJECT
00019 public:
00020     DlgPrefReplayGain(QWidget *parent, ConfigObject<ConfigValue> *_config);
00021     ~DlgPrefReplayGain();
00022 public slots:
00024 void slotUpdateBoost();
00025 void slotSetRGEnabled();
00026 void slotSetRGAnalyserEnabled();
00027 
00028 void slotApply();
00029 void slotUpdate();
00030 void setDefaults();
00031 signals:
00032 void apply(const QString &);
00033 private:
00034 
00035 // Determines whether or not to gray out the preferences
00036 void loadSettings();
00037 
00039 ConfigObject<ConfigValue> *config;
00040 
00041 ControlObjectThread m_COTInitialBoost;
00042 ControlObjectThread m_COTEnabled;
00043 
00044 };
00045 
00046 
00047 #endif /* DLGPREFREPLAYGAIN_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines