1 /***************************************************************************
2 * Copyright (C) 2006 by Peter Penz *
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. *
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. *
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 BEHAVIORSETTINGSPAGE_H
21 #define BEHAVIORSETTINGSPAGE_H
23 #include <settings/settingspagebase.h>
31 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
33 class BehaviorSettingsPage
: public SettingsPageBase
38 BehaviorSettingsPage(const KUrl
& url
, QWidget
* parent
);
39 virtual ~BehaviorSettingsPage();
41 /** @see SettingsPageBase::applySettings() */
42 virtual void applySettings();
44 /** @see SettingsPageBase::restoreDefaults() */
45 virtual void restoreDefaults();
49 * Updates the visibility state of the configure
50 * button m_configureToolTips.
52 void updateConfigureButton();
55 * Opens a dialog which allows the user to specify which
56 * meta data should be shown in the tooltip.
58 void configureToolTips();
66 QRadioButton
* m_localProps
;
67 QRadioButton
* m_globalProps
;
69 QCheckBox
* m_confirmMoveToTrash
;
70 QCheckBox
* m_confirmDelete
;
71 QCheckBox
* m_confirmClosingMultipleTabs
;
73 QCheckBox
* m_renameInline
;
74 QCheckBox
* m_showToolTips
;
75 QLabel
* m_configureToolTips
;
76 QCheckBox
* m_showSelectionToggle
;
77 QCheckBox
* m_naturalSorting
;