diff options
| author | Peter Penz <[email protected]> | 2010-04-03 08:48:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-04-03 08:48:35 +0000 |
| commit | 7ae94915f72857ed4825ef6b78e4753896be28f9 (patch) | |
| tree | 2359b214d6dff9584ffce0bab32e45c5ca142937 /src/statusbar/statusbarspaceinfo.h | |
| parent | 2dc23d4e6dc8a3b5d9e4f816fe9ddab13f957cc6 (diff) | |
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
Diffstat (limited to 'src/statusbar/statusbarspaceinfo.h')
| -rw-r--r-- | src/statusbar/statusbarspaceinfo.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 |
