summaryrefslogtreecommitdiff
path: root/src/urlbar/bookmarkwidget.h
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-09-03 18:00:08 +0200
committerJon Ander Peñalba <jonan88@gmail.com>2010-09-10 10:28:29 +0200
commit00ea3abd0138fa3883fa4241ccd628638b8fdea1 (patch)
tree60f9dc92c905f2f45c89b5b9efe1778b3410f7c5 /src/urlbar/bookmarkwidget.h
parentReimplemented the clearIconCache method (diff)
downloadrekonq-00ea3abd0138fa3883fa4241ccd628638b8fdea1.tar.xz
No need to show the url in the bookmark widget (specially if it's not editable).
Diffstat (limited to 'src/urlbar/bookmarkwidget.h')
-rw-r--r--src/urlbar/bookmarkwidget.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/urlbar/bookmarkwidget.h b/src/urlbar/bookmarkwidget.h
index c3c15e18..b95e55db 100644
--- a/src/urlbar/bookmarkwidget.h
+++ b/src/urlbar/bookmarkwidget.h
@@ -30,14 +30,13 @@
// Rekonq Includes
#include "rekonq_defines.h"
-// KDE Includes
-#include <KUrl>
-#include <KBookmark>
-#include <KLineEdit>
-
// Qt Includes
#include <QtGui/QFrame>
+// Forward Declarations
+class KBookmark;
+class KLineEdit;
+
class BookmarkWidget : public QFrame
{
@@ -45,7 +44,7 @@ class BookmarkWidget : public QFrame
public:
explicit BookmarkWidget(const KBookmark &bookmark, QWidget *parent = 0);
- ~BookmarkWidget();
+ virtual ~BookmarkWidget();
void showAt(const QPoint &pos);
@@ -55,9 +54,8 @@ private slots:
void removeBookmark();
private:
- KBookmark m_bookmark;
+ KBookmark *m_bookmark;
KLineEdit *m_name;
-
};
#endif // BOOKMARKWIDGET_H