]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewsettingspage.h
Hide the "Sort by Rating" and "Sort by Tags" menu entries for KDE 4.0, as currently...
[dolphin.git] / src / viewsettingspage.h
index f41238733a689853afc1e04c28330dc2c24e42cc..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,27 +32,28 @@ 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 and
- * the details mode.
- *
- *  @author Peter Penz <peter.penz@gmx.at>
+ * The views settings allow to set the properties for the icons mode,
+ * 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