diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2010-03-29 18:36:34 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2010-03-29 18:36:34 +0200 |
commit | 3be011352dc0f354723269cbc8f07f4d5fbcc3d6 (patch) | |
tree | be795a064f8723c0d58448d77094beebb536f5e6 /src/bookmarks/bookmarkspanel.h | |
parent | Merge branch 'master' of git://gitorious.org/rekonq/mainline (diff) | |
parent | rekonq 0.4.57 (diff) | |
download | rekonq-3be011352dc0f354723269cbc8f07f4d5fbcc3d6.tar.xz |
Merge branch 'master' of git://gitorious.org/rekonq/mainline
Diffstat (limited to 'src/bookmarks/bookmarkspanel.h')
-rw-r--r-- | src/bookmarks/bookmarkspanel.h | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarkspanel.h b/src/bookmarks/bookmarkspanel.h index f5376d98..f8528b71 100644 --- a/src/bookmarks/bookmarkspanel.h +++ b/src/bookmarks/bookmarkspanel.h @@ -31,10 +31,16 @@ // Local Includes #include "rekonqprivate_export.h" +#include "application.h" +#include "urltreeview.h" // Qt Includes #include <QDockWidget> +// KDE Includes +#include <KBookmark> +#include <KActionCollection> + // Forward Declarations class KUrl; class QModelIndex; @@ -49,13 +55,35 @@ public: ~BookmarksPanel(); signals: - void openUrl(const KUrl &); + void openUrl(const KUrl &, const Rekonq::OpenType &); + void itemHovered(const QString &); + void saveOnlyRequested(); private slots: - void bookmarkActivated( const QModelIndex &index ); + void contextMenuBk(const QPoint &pos); + void contextMenuBkGroup(const QPoint &pos, const bool emptyGroup = false); + void contextMenuBlank(const QPoint &pos); + void deleteBookmark(); + void openFolderInTabs(); + void editBookmark(); + void newBookmarkGroup(); + void newSeparator(); + void onCollapse(const QModelIndex &index); + void onExpand(const QModelIndex &index); + void bookmarkCurrentPage(); + void loadFoldedState(const QModelIndex &root); + void loadFoldedState(); + private: void setup(); + void setupActions(); + void contextMenuSeparator(const QPoint &pos); + KBookmark bookmarkForIndex(const QModelIndex &index); + + UrlTreeView *m_treeView; + KActionCollection *m_ac; + bool m_loadingState; }; #endif // BOOKMARKSPANEL_H |