1
/***************************************************************************
2
* Copyright (C) 2009 by Kai Dombrowe <just89@gmx.de> *
4
* This program is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License as published by *
6
* the Free Software Foundation; either version 2 of the License, or *
7
* (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program; if not, write to the *
16
* Free Software Foundation, Inc., *
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
18
***************************************************************************/
21
#ifndef CONFIGDIALOG_H
22
#define CONFIGDIALOG_H
26
#include "ui_settings.h"
29
#include <kconfigdialog.h>
32
namespace RecordItNow {
37
class KActionCollection;
38
class RecordItNowPluginManager;
39
class ConfigDialog : public KConfigDialog
45
ConfigDialog(QWidget *parent, KActionCollection *collection, RecordItNowPluginManager *manager);
50
RecordItNowPluginManager *m_pluginManager;
51
Ui::Settings ui_settings;
52
KActionCollection *m_collection;
53
QList<RecordItNow::ConfigPage*> m_pageList;
59
void updateEncoderCombo();
60
void configFinished(const int &code);
61
void encoderChanged();
62
void pageConfigChanged();
66
void updateWidgetsDefault();
67
void updateSettings();
71
void dialogFinished();
77
#endif // CONFIGDIALOG_H