diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-09-11 15:52:55 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-09-11 15:52:55 +0200 |
commit | 65aa35dd63fd86ae68de6aaeeb0ac12d3443fde7 (patch) | |
tree | 701e3430c85ffe0a9d19f6352741f20913973504 /src/urlbar/bookmarkwidget.h | |
parent | Merge branch 'iconFixes2' (diff) | |
parent | Fixes a string change (this commit should be reverted after v0.6) (diff) | |
download | rekonq-65aa35dd63fd86ae68de6aaeeb0ac12d3443fde7.tar.xz |
Merge commit 'refs/merge-requests/203' of git://gitorious.org/rekonq/mainline into m203_2
Diffstat (limited to 'src/urlbar/bookmarkwidget.h')
-rw-r--r-- | src/urlbar/bookmarkwidget.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/urlbar/bookmarkwidget.h b/src/urlbar/bookmarkwidget.h index c3c15e18..e07dac24 100644 --- a/src/urlbar/bookmarkwidget.h +++ b/src/urlbar/bookmarkwidget.h @@ -27,37 +27,31 @@ #ifndef BOOKMARKWIDGET_H #define BOOKMARKWIDGET_H -// Rekonq Includes -#include "rekonq_defines.h" - -// KDE Includes -#include <KUrl> -#include <KBookmark> -#include <KLineEdit> - // Qt Includes -#include <QtGui/QFrame> +#include <QtGui/QMenu> +// Forward Declarations +class KBookmark; +class KLineEdit; -class BookmarkWidget : public QFrame + +class BookmarkWidget : public QMenu { Q_OBJECT public: explicit BookmarkWidget(const KBookmark &bookmark, QWidget *parent = 0); - ~BookmarkWidget(); + virtual ~BookmarkWidget(); void showAt(const QPoint &pos); private slots: void accept(); - void reject(); void removeBookmark(); private: - KBookmark m_bookmark; + KBookmark *m_bookmark; KLineEdit *m_name; - }; #endif // BOOKMARKWIDGET_H |