From c91365ab8d7582255aa0de8f403ec0787446a74f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 14 Feb 2007 21:54:24 +0000 Subject: Step one for having DolphinParts for the icons and details view, which can be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok. svn path=/trunk/KDE/kdebase/apps/; revision=633703 --- src/dolphiniconsview.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/dolphiniconsview.h') diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h index 99ca12688..68efbbd91 100644 --- a/src/dolphiniconsview.h +++ b/src/dolphiniconsview.h @@ -1,6 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Peter Penz * - * peter.penz@gmx.at * + * Copyright (C) 2006 by Peter Penz (peter.penz@gmx.at) * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -23,6 +22,7 @@ #include +class DolphinController; class DolphinView; /** @@ -30,15 +30,13 @@ class DolphinView; * * It is also possible that instead of the icon a preview of the item * content is shown. - * - * @author Peter Penz */ class DolphinIconsView : public QListView { Q_OBJECT public: - explicit DolphinIconsView(DolphinView* parent); + explicit DolphinIconsView(QWidget* parent, DolphinController* controller); virtual ~DolphinIconsView(); protected: @@ -49,7 +47,7 @@ protected: virtual void dropEvent(QDropEvent* event); private: - DolphinView* m_dolphinView; + DolphinController* m_controller; }; #endif -- cgit v1.3.1