OSDN Git Service

Rename boardmanager.cpp and boardmanager.h
[kita/kita.git] / src / prefs / preferences.h
1 /***************************************************************************
2 *   Copyright (C) 2003 by Hideki Ikemoto                                  *
3 *   ikemo@users.sourceforge.jp                                            *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 ***************************************************************************/
10
11 #ifndef KITAPREFERENCES_H
12 #define KITAPREFERENCES_H
13
14 #include <QtCore/QList>
15
16 #include <kpagedialog.h>
17
18 namespace Kita
19 {
20     class AbstractPrefPage;
21
22     class KDE_EXPORT Preferences : public KPageDialog
23     {
24         Q_OBJECT
25
26     public:
27         Preferences(QWidget* parent);
28         void load();
29
30     private:
31         QList<AbstractPrefPage*> m_pageList;
32         void apply();
33         void reset();
34         Preferences(const Preferences&);
35         Preferences& operator=(const Preferences&);
36  
37     private slots:
38         virtual void slotButtonClicked(int button);
39         void slotChanged();
40
41     signals:
42         void fontChanged(const QFont&);
43     };
44 }
45
46 #endif // KITAPREFERENCES_H