┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/urlnavigatorbutton.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-02-17 10:31:52 +0000
committerPeter Penz <[email protected]>2007-02-17 10:31:52 +0000
commit175fe7ff47ccff39b0e77f80491a9701d025375e (patch)
tree6c2cb040129fbd5050549c970d0219de96808314 /src/urlnavigatorbutton.h
parent86110e2778d6ac5eb4454f58de532cabfcd75dbf (diff)
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
Diffstat (limited to 'src/urlnavigatorbutton.h')
-rw-r--r--src/urlnavigatorbutton.h11
1 files changed, 3 insertions, 8 deletions
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 <qstringlist.h>
-#include <QEvent>
-#include <QDragLeaveEvent>
-#include <QDropEvent>
-#include <QDragEnterEvent>
-
#include <kio/global.h>
-
#include <urlbutton.h>
+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;