]> git.sesse.net Git - kdenlive/blob - src/kdenlivesettingsdialog.h
Reindent all source files
[kdenlive] / src / kdenlivesettingsdialog.h
1 /***************************************************************************
2  *   Copyright (C) 2008 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
3  *                                                                         *
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.                                   *
8  *                                                                         *
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.                          *
13  *                                                                         *
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  ***************************************************************************/
19
20
21 #ifndef KDENLIVESETTINGSDIALOG_H
22 #define KDENLIVESETTINGSDIALOG_H
23
24 #include <QDialog>
25
26 #include <KConfigDialog>
27
28 #include "ui_configmisc_ui.h"
29 #include "ui_configenv_ui.h"
30 #include "ui_configdisplay_ui.h"
31
32 class KdenliveSettingsDialog : public KConfigDialog {
33     Q_OBJECT
34
35 public:
36     KdenliveSettingsDialog(QWidget * parent = 0);
37     ~KdenliveSettingsDialog();
38
39 protected:
40     virtual bool hasChanged();
41
42 private slots:
43     void slotUpdateDisplay();
44
45 private:
46     KPageWidgetItem *page1;
47     KPageWidgetItem *page2;
48     KPageWidgetItem *page3;
49     Ui::ConfigEnv_UI m_configEnv;
50     Ui::ConfigMisc_UI m_configMisc;
51     Ui::ConfigDisplay_UI m_configDisplay;
52     QStringList m_mltProfilesList;
53     QStringList m_customProfilesList;
54     bool m_isCustomProfile;
55     QString m_defaulfProfile;
56
57 signals:
58     void customChanged();
59
60 };
61
62
63 #endif
64