┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinstatusbar.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-06 16:56:39 +0000
committerPeter Penz <[email protected]>2008-10-06 16:56:39 +0000
commita124f2ada3bc3f36862dd2e207ceb68672610929 (patch)
tree138342a2b3295f4dc7ff251ed6ea945babc7a144 /src/dolphinstatusbar.h
parentc076e1a0ec9e84c68d03181f61e7949f1e182e4e (diff)
remove the asynchronous update of the zooming again, it decreases the "feeled" performance
svn path=/trunk/KDE/kdebase/apps/; revision=868575
Diffstat (limited to 'src/dolphinstatusbar.h')
-rw-r--r--src/dolphinstatusbar.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h
index 49f14357d..3cee1ed53 100644
--- a/src/dolphinstatusbar.h
+++ b/src/dolphinstatusbar.h
@@ -131,19 +131,9 @@ private slots:
void updateSpaceInfoContent(const KUrl& url);
/**
- * Requests setting the zoom level to \a zoomLevel by applying it
- * to m_requestedZoomLevel and triggering a short timer, which will
- * invoke DolphinStatusBar::updateZoomLevel(). This assures no blocking
- * of the zoom slider when zooming views having a huge number of
- * items.
+ * Sets the zoom level of the item view to \a zoomLevel.
*/
- void requestZoomLevel(int zoomLevel);
-
- /**
- * Updates the zoom level to m_requestedZoomLevel (see also
- * DolphinStatusBar::requestZoomLevel().
- */
- void updateZoomLevel();
+ void setZoomLevel(int zoomLevel);
/**
* Assures that the text of the statusbar stays visible by hiding
@@ -166,13 +156,10 @@ private:
StatusBarMessageLabel* m_messageLabel;
StatusBarSpaceInfo* m_spaceInfo;
QSlider* m_zoomSlider;
- QTimer* m_zoomTimer;
QLabel* m_progressText;
QProgressBar* m_progressBar;
int m_progress;
-
- int m_requestedZoomLevel;
};
#endif