From 175fe7ff47ccff39b0e77f80491a9701d025375e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 17 Feb 2007 10:31:52 +0000 Subject: Cleanup of the URL navigator, so that the DolphinMainWindow and the DolphinView are not used anymore. This will make it easier for us later on when moving the URL navigator outside Dolphin to make it accessable for other parts. Currently the bookmarks are still accessed by DolphinSettings, but this will be cleaned up later... svn path=/trunk/KDE/kdebase/apps/; revision=634432 --- src/urlnavigatorbutton.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/urlnavigatorbutton.h') diff --git a/src/urlnavigatorbutton.h b/src/urlnavigatorbutton.h index 0ddaf66a3..9234f0b10 100644 --- a/src/urlnavigatorbutton.h +++ b/src/urlnavigatorbutton.h @@ -20,16 +20,10 @@ #ifndef UrlNAVIGATORBUTTON_H #define UrlNAVIGATORBUTTON_H -#include -#include -#include -#include -#include - #include - #include +class KJob; class KUrl; class UrlNavigator; class QPainter; @@ -52,7 +46,7 @@ class UrlNavigatorButton : public UrlButton Q_OBJECT public: - explicit UrlNavigatorButton(int index, UrlNavigator* parent = 0); + explicit UrlNavigatorButton(int index, UrlNavigator* parent); virtual ~UrlNavigatorButton(); void setIndex(int index); int index() const { return m_index; } @@ -80,6 +74,7 @@ private: int arrowWidth() const; bool isTextClipped() const; +private: int m_index; QTimer* m_popupDelay; KIO::Job* m_listJob; -- cgit v1.3