/*************************************************************************** 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 #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 *_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* m_pConfig; ControlObjectSlave* m_pShoutcastEnabled; }; #endif