diff options
| author | Peter Penz <[email protected]> | 2006-12-07 20:51:05 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2006-12-07 20:51:05 +0000 |
| commit | 31d14571959f1bf750ccc43c15d71ca9338baaaf (patch) | |
| tree | 238becaaa9a5cf93c86d4c5f196d602a6a1f21d7 /src/viewpropsprogressinfo.h | |
| parent | 904168ad2a0e2baff0570658c8f9a9c3feba4554 (diff) | |
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
Diffstat (limited to 'src/viewpropsprogressinfo.h')
| -rw-r--r-- | src/viewpropsprogressinfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
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; |
