blob: e5787ec7605ead7bdae53d8661c9d7d599e312ad (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/***************************************************************************
dlgprefshoutcast.h - description
-------------------
begin : Thu Jun 7 2007
copyright : (C) 2008 by Wesley Stessens
(C) 2007 by John Sully
(C) 2008 by Albert Santoni
email :
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef DLGPREFSHOUTCAST_H
#define DLGPREFSHOUTCAST_H
#include <QWidget>
#include "ui_dlgprefshoutcastdlg.h"
#include "controlobject.h"
#include "configobject.h"
#include "shoutcast/defs_shoutcast.h"
#include "preferences/dlgpreferencepage.h"
/**
*@author John Sully
*/
class ControlObjectSlave;
class DlgPrefShoutcast : public DlgPreferencePage, public Ui::DlgPrefShoutcastDlg {
Q_OBJECT
public:
DlgPrefShoutcast(QWidget *parent, ConfigObject<ConfigValue> *_config);
virtual ~DlgPrefShoutcast();
public slots:
/** Apply changes to widget */
void slotApply();
void slotUpdate();
void slotResetToDefaults();
void shoutcastEnabledChanged(double value);
signals:
void apply(const QString &);
private:
ConfigObject<ConfigValue>* m_pConfig;
ControlObjectSlave* m_pShoutcastEnabled;
};
#endif
|