]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewsettingspage.h
Newer items go before
[dolphin.git] / src / viewsettingspage.h
index baec5296e3053421259ec0c4d470182cadb9e01e..46671cb0c3c43adb97a2ad111c230dc34918a741 100644 (file)
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 #ifndef VIEWSETTINGSPAGE_H
 #define VIEWSETTINGSPAGE_H
 
-#include <qwidget.h>
+#include <QtGui/QWidget>
 #include <settingspagebase.h>
 
+class ColumnViewSettingsPage;
+class DolphinMainWindow;
+class GeneralViewSettingsPage;
 class IconsViewSettingsPage;
 class DetailsViewSettingsPage;
 
@@ -30,25 +33,27 @@ class DetailsViewSettingsPage;
  * @brief Page for the 'View' settings of the Dolphin settings dialog.
  *
  * The views settings allow to set the properties for the icons mode,
- * the details mode and the previews mode.
- *
- *  @author Peter Penz <peter.penz@gmx.at>
+ * the details mode and the column mode.
  */
 class ViewSettingsPage : public SettingsPageBase
 {
     Q_OBJECT
 
 public:
-    ViewSettingsPage(QWidget* parent);
-
+    ViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
     virtual ~ViewSettingsPage();
 
-    /** @see SettingsPageBase::applySettings */
+    /** @see SettingsPageBase::applySettings() */
     virtual void applySettings();
 
+    /** @see SettingsPageBase::restoreDefaults() */
+    virtual void restoreDefaults();
+
 private:
+    GeneralViewSettingsPage* m_generalPage;
     IconsViewSettingsPage* m_iconsPage;
     DetailsViewSettingsPage* m_detailsPage;
+    ColumnViewSettingsPage* m_columnPage;
 };
 
 #endif