diff options
| author | Peter Penz <[email protected]> | 2008-03-06 01:45:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-03-06 01:45:21 +0000 |
| commit | f4e6647cdc652a550b61a0b9c075b93e935197d9 (patch) | |
| tree | 25551f6452f4cbf6778f3b9cfca15fdba6a72899 /src/iconmanager.h | |
| parent | 80ad31f00a6c2bfa54f7164aa2a5c9f6b30f1eab (diff) | |
prevent flickering when zooming in or zooming out
svn path=/trunk/KDE/kdebase/apps/; revision=782795
Diffstat (limited to 'src/iconmanager.h')
| -rw-r--r-- | src/iconmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/iconmanager.h b/src/iconmanager.h index c96759b13..e35b13989 100644 --- a/src/iconmanager.h +++ b/src/iconmanager.h @@ -48,6 +48,7 @@ public: virtual ~IconManager(); void setShowPreview(bool show); bool showPreview() const; + void updatePreviews(); private slots: /** @@ -73,6 +74,8 @@ private slots: void updateCutItems(); private: + void generatePreviews(const KFileItemList &items); + /** * Returns true, if the item \a item has been cut into * the clipboard. @@ -98,6 +101,9 @@ private: */ void limitToSize(QPixmap& icon, const QSize& maxSize); + /** Kills all ongoing preview jobs. */ + void killJobs(); + private: /** * Remembers the original pixmap for an item before |
