summaryrefslogtreecommitdiffstats
path: root/src/preferences/dialog/dlgprefautodj.h
blob: 13e5b19ea0ff42a012e8502772ec65f7becadc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef DLGPREFAUTODJ_H
#define DLGPREFAUTODJ_H

#include <QWidget>

#include "preferences/dialog/ui_dlgprefautodjdlg.h"
#include "configobject.h"
#include "preferences/dlgpreferencepage.h"

class DlgPrefAutoDJ : public DlgPreferencePage, public Ui::DlgPrefAutoDJDlg {
    Q_OBJECT
  public:
    DlgPrefAutoDJ(QWidget* pParent, ConfigObject<ConfigValue> *pConfig);
    virtual ~DlgPrefAutoDJ();

  public slots:
    void slotUpdate();
    void slotApply();
    void slotResetToDefaults();
    void slotCancel() ;

  private slots:
    void slotSetAutoDjRequeue(int);
    void slotSetAutoDjMinimumAvailable(int);
    void slotSetAutoDjUseIgnoreTime(int);
    void slotSetAutoDjIgnoreTime(const QTime &a_rTime);
    void slotSetAutoDJRandomQueueMin(int);
    void slotEnableAutoDJRandomQueueComboBox(int);
    void slotEnableAutoDJRandomQueue(int);

  private:
    ConfigObject<ConfigValue>* m_pConfig;
};

#endif /* DLGPREFAUTODJ_H */