From 7ae94915f72857ed4825ef6b78e4753896be28f9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 3 Apr 2010 08:48:35 +0000 Subject: Cleanup of statusbar widgets: - Provide proper size hints instead of hiding extensions on small widths - Provide context menu, which allows to enable/disable the zoom level extension and the space info extension. Also copying the status bar text is possible (useful e. g. for error messages). BUG: 188980 svn path=/trunk/KDE/kdebase/apps/; revision=1110498 --- src/statusbar/statusbarspaceinfo.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/statusbar/statusbarspaceinfo.h') diff --git a/src/statusbar/statusbarspaceinfo.h b/src/statusbar/statusbarspaceinfo.h index 9744548ca..d1858f8bb 100644 --- a/src/statusbar/statusbarspaceinfo.h +++ b/src/statusbar/statusbarspaceinfo.h @@ -44,7 +44,7 @@ public: virtual ~StatusBarSpaceInfo(); void setUrl(const KUrl& url); - const KUrl& url() const; + KUrl url() const; protected: void showEvent(QShowEvent* event); @@ -60,9 +60,4 @@ private: QTimer* m_timer; }; -inline const KUrl& StatusBarSpaceInfo::url() const -{ - return m_url; -} - #endif -- cgit v1.3