From 31d14571959f1bf750ccc43c15d71ca9338baaaf Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 7 Dec 2006 20:51:05 +0000 Subject: Apply the view properties to sub directories without using a modal window. This allows the user to proceed with the work during the view properties are applied. svn path=/trunk/playground/utils/dolphin/; revision=611369 --- src/viewpropsprogressinfo.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/viewpropsprogressinfo.h') diff --git a/src/viewpropsprogressinfo.h b/src/viewpropsprogressinfo.h index ac591e6bc..b355ef597 100644 --- a/src/viewpropsprogressinfo.h +++ b/src/viewpropsprogressinfo.h @@ -52,10 +52,13 @@ public: */ ViewPropsProgressInfo(QWidget* parent, const KUrl& dir, - const ViewProperties* viewProps); + const ViewProperties& viewProps); virtual ~ViewPropsProgressInfo(); +protected: + virtual void closeEvent(QCloseEvent* event); + private slots: void updateProgress(); void applyViewProperties(); @@ -63,7 +66,7 @@ private slots: private: const KUrl& m_dir; - const ViewProperties* m_viewProps; + ViewProperties* m_viewProps; QLabel* m_label; QProgressBar* m_progressBar; -- cgit v1.3