1 /***************************************************************************
2 * Copyright (C) 2008 by Peter Penz <peter.penz19@gmail.com> *
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 ***************************************************************************/
19 #ifndef STARTUPSETTINGSPAGE_H
20 #define STARTUPSETTINGSPAGE_H
22 #include "settings/settingspagebase.h"
30 * @brief Page for the 'Startup' settings of the Dolphin settings dialog.
32 * The startup settings allow to set the home URL and to configure the
33 * state of the view mode, split mode and the filter bar when starting Dolphin.
35 class StartupSettingsPage
: public SettingsPageBase
40 StartupSettingsPage(const QUrl
& url
, QWidget
* parent
);
41 ~StartupSettingsPage() override
;
43 /** @see SettingsPageBase::applySettings() */
44 void applySettings() override
;
46 /** @see SettingsPageBase::restoreDefaults() */
47 void restoreDefaults() override
;
50 void slotSettingsChanged();
52 void useCurrentLocation();
53 void useDefaultLocation();
62 QCheckBox
* m_splitView
;
63 QCheckBox
* m_editableUrl
;
64 QCheckBox
* m_showFullPath
;
65 QCheckBox
* m_filterBar
;
66 QCheckBox
* m_showFullPathInTitlebar
;
67 QCheckBox
* m_openExternallyCalledFolderInNewTab
;