summaryrefslogtreecommitdiff
path: root/src/urlbar/bookmarkwidget.h
diff options
context:
space:
mode:
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