summaryrefslogtreecommitdiffstats
path: root/src/preferences/dialog/dlgprefmodplug.h
blob: 79eeb50c1d3532112085d7923071a6e427dba9d7 (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
36
37
// dlgprefmodplug.h  -  modplug settings dialog
// created 2013 by Stefan Nuernberger <kabelfrickler@gmail.com>

#ifndef DLGPREFMODPLUG_H
#define DLGPREFMODPLUG_H

#include <QDialog>
#include "configobject.h"
#include "preferences/dlgpreferencepage.h"

namespace Ui {
class DlgPrefModplug;
}

class DlgPrefModplug : public DlgPreferencePage {
    Q_OBJECT

  public:
    explicit DlgPrefModplug(QWidget* parent, ConfigObject<ConfigValue>* _config);
    virtual ~DlgPrefModplug();

  public slots:
    /** Apply changes to widget */
    void slotApply();
    void slotUpdate();
    void slotResetToDefaults();

    void loadSettings();
    void saveSettings();
    void applySettings();

  private:
    Ui::DlgPrefModplug* m_pUi;
    ConfigObject<ConfigValue>* m_pConfig;
};

#endif // DLGPREFMODPLUG_H