delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / dolphin / src / settings / behaviorsettingspage.h
blob401f2240a9bc5ca72ce2b9c428378888096ee43c
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 BEHAVIORSETTINGSPAGE_H
21 #define BEHAVIORSETTINGSPAGE_H
23 #include <settings/settingspagebase.h>
24 #include <kurl.h>
26 class DolphinMainWindow;
27 class QCheckBox;
28 class QRadioButton;
30 /**
31 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
33 class BehaviorSettingsPage : public SettingsPageBase
35 Q_OBJECT
37 public:
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();
47 private:
48 void loadSettings();
50 private:
51 KUrl m_url;
53 QRadioButton* m_localProps;
54 QRadioButton* m_globalProps;
56 QCheckBox* m_confirmMoveToTrash;
57 QCheckBox* m_confirmDelete;
59 QCheckBox* m_renameInline;
60 QCheckBox* m_showToolTips;
61 QCheckBox* m_showSelectionToggle;
64 #endif