diff options
| author | Peter Penz <[email protected]> | 2007-04-14 18:57:18 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-04-14 18:57:18 +0000 |
| commit | e0bd6f137d90fea9854427f57f8945ecf38991eb (patch) | |
| tree | ef9854ac560fd6876306b0aa89c53096b2c2b469 /src/dolphinview.h | |
| parent | 59f106283837f1aa99ffde420863d0bee461edc0 (diff) | |
assure that the preview job gets killed when the directory has been changed
svn path=/trunk/KDE/kdebase/apps/; revision=653976
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index f6b85f96b..aacb5e178 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -54,6 +54,11 @@ class QPainter; class QTimer; class ViewProperties; +namespace KIO +{ + class PreviewJob; +} + /** * @short Represents a view for the directory content * including the navigation bar, filter bar and status bar. @@ -521,6 +526,9 @@ private slots: /** Applies an item effect to all cut items of the clipboard. */ void updateCutItems(); + /** Is invoked when the preview job has been finished. */ + void slotPreviewResult(KJob* job); + private: void startDirLister(const KUrl& url, bool reload = false); @@ -615,6 +623,8 @@ private: DolphinDirLister* m_dirLister; DolphinSortFilterProxyModel* m_proxyModel; + KIO::PreviewJob* m_previewJob; + QList<CutItem> m_cutItemsCache; }; |
