delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / dolphin / src / settings / generalsettingspage.h
blobac1e7c61ce7e145eda5b270f37604c33e728205b
1 /***************************************************************************
2 * Copyright (C) 2006 by Peter Penz *
3 * peter.penz@gmx.at *
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 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
20 #ifndef GENERALSETTINGSPAGE_H
21 #define GENERALSETTINGSPAGE_H
23 #include <QWidget>
24 #include <settings/settingspagebase.h>
26 class KUrl;
27 class SettingsPageBase;
28 class DolphinMainWindow;
30 /**
31 * @brief Page for the 'General' settings of the Dolphin settings dialog.
33 * The general settings include:
34 * - Behavior
35 * - Previews
36 * - Context Menu
37 * - Status Bar
39 class GeneralSettingsPage : public SettingsPageBase
41 Q_OBJECT
43 public:
44 GeneralSettingsPage(const KUrl& url, QWidget* parent);
45 virtual ~GeneralSettingsPage();
47 /** @see SettingsPageBase::applySettings() */
48 virtual void applySettings();
50 /** @see SettingsPageBase::restoreDefaults() */
51 virtual void restoreDefaults();
53 private:
54 QList<SettingsPageBase*> m_pages;
57 #endif