diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
commit | 4b160adc90c4a484e7cb94b3c9fd23439f0e12a8 (patch) | |
tree | a1fff65e53a3910cf5e86e75147ed517a51a4978 /src/bookmarks/bookmarkspanel.h | |
parent | suggestion download: kill previous job before start a new one. (diff) | |
parent | panels directory removed (diff) | |
download | rekonq-4b160adc90c4a484e7cb94b3c9fd23439f0e12a8.tar.xz |
Merge commit 'refs/merge-requests/193' of git://gitorious.org/rekonq/mainline into m193
Diffstat (limited to 'src/bookmarks/bookmarkspanel.h')
-rw-r--r-- | src/bookmarks/bookmarkspanel.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bookmarks/bookmarkspanel.h b/src/bookmarks/bookmarkspanel.h index 4afa953b..2418ae81 100644 --- a/src/bookmarks/bookmarkspanel.h +++ b/src/bookmarks/bookmarkspanel.h @@ -33,15 +33,14 @@ // Rekonq Includes #include "rekonq_defines.h" -// Qt Includes -#include <QDockWidget> +// Local Includes +#include "urlpanel.h" // Forward Declarations -class PanelTreeView; class KBookmark; class QModelIndex; -class REKONQ_TESTS_EXPORT BookmarksPanel : public QDockWidget +class REKONQ_TESTS_EXPORT BookmarksPanel : public UrlPanel { Q_OBJECT @@ -50,16 +49,16 @@ public: virtual ~BookmarksPanel(); signals: - void openUrl(const KUrl &, const Rekonq::OpenType &); - void itemHovered(const QString &); void expansionChanged(); public slots: - void showing(bool); void startLoadFoldedState(); private slots: void contextMenu(const QPoint &pos); + virtual void contextMenuItem(const QPoint &pos); + virtual void contextMenuGroup(const QPoint &pos); + virtual void contextMenuEmpty(const QPoint &pos); void deleteBookmark(); void onCollapse(const QModelIndex &index); @@ -67,11 +66,12 @@ private slots: void loadFoldedState(const QModelIndex &root); private: - void setup(); + virtual void setup(); KBookmark bookmarkForIndex(const QModelIndex &index); - PanelTreeView *m_treeView; - bool m_loadingState, m_loaded; + virtual QAbstractItemModel* getModel(); + + bool m_loadingState; }; #endif // BOOKMARKSPANEL_H |