~ubuntu-branches/ubuntu/wily/kdebase/wily

« back to all changes in this revision

Viewing changes to apps/dolphin/src/settings/viewmodes/viewsettingspage.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-25 16:00:47 UTC
  • mfrom: (1.1.53 upstream)
  • Revision ID: james.westby@ubuntu.com-20101125160047-bsycodsp50o8su5s
Tags: 4:4.5.80-0ubuntu1
* New upstream beta release
* Drop kubuntu_06_simple_aboutpage.diff, didn't apply and no point
  keeping a distro patch to an app we don't ship by default
* Drop kubuntu_23_konqueror_spinner_in_toolbar.diff now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 VIEWSETTINGSPAGE_H
 
21
#define VIEWSETTINGSPAGE_H
 
22
 
 
23
#include <settings/settingspagebase.h>
 
24
 
 
25
class ViewSettingsPageBase;
 
26
class QWidget;
 
27
 
 
28
/**
 
29
 * @brief Page for the 'View' settings of the Dolphin settings dialog.
 
30
 *
 
31
 * The views settings allow to set the properties for the icons mode,
 
32
 * the details mode and the column mode.
 
33
 */
 
34
class ViewSettingsPage : public SettingsPageBase
 
35
{
 
36
    Q_OBJECT
 
37
 
 
38
public:
 
39
    ViewSettingsPage(QWidget* parent);
 
40
    virtual ~ViewSettingsPage();
 
41
 
 
42
    /** @see SettingsPageBase::applySettings() */
 
43
    virtual void applySettings();
 
44
 
 
45
    /** @see SettingsPageBase::restoreDefaults() */
 
46
    virtual void restoreDefaults();
 
47
 
 
48
private:
 
49
    QList<ViewSettingsPageBase*> m_pages;
 
50
};
 
51
 
 
52
#endif