summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkspanel.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-27 19:42:30 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-27 19:42:30 +0100
commit6ab284d4f3e759be939bd8948b1b842300984f87 (patch)
treef4911422831ce5c18cf53a44592d37c0e4a4e077 /src/bookmarks/bookmarkspanel.h
parentMerge commit 'refs/merge-requests/107' of git://gitorious.org/rekonq/mainline... (diff)
parent- Fix a crash when the cancel button of the add bookmark menu is clicked (diff)
downloadrekonq-6ab284d4f3e759be939bd8948b1b842300984f87.tar.xz
Merge commit 'refs/merge-requests/107' of git://gitorious.org/rekonq/mainline into HistoryBookmarksImprovements
Diffstat (limited to 'src/bookmarks/bookmarkspanel.h')
-rw-r--r--src/bookmarks/bookmarkspanel.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/bookmarks/bookmarkspanel.h b/src/bookmarks/bookmarkspanel.h
index ea33e265..be52804f 100644
--- a/src/bookmarks/bookmarkspanel.h
+++ b/src/bookmarks/bookmarkspanel.h
@@ -40,7 +40,6 @@
// KDE Includes
#include <KBookmark>
#include <KActionCollection>
-#include <KMenu>
// Forward Declarations
class KUrl;
@@ -58,24 +57,24 @@ public:
signals:
void openUrl(const KUrl &, const Rekonq::OpenType &);
void itemHovered(const QString &);
- void saveExpFinished(const QString &);
- void saveRequested();
+ void saveOnlyRequested();
private slots:
void contextMenuBk(const QPoint &pos);
void contextMenuBkGroup(const QPoint &pos, const bool emptyGroup = false);
void contextMenuBlank(const QPoint &pos);
void deleteBookmark();
- void openAll();
+ void openFolderInTabs();
void editBookmark();
void newBookmark();
void newBookmarkGroup();
void newSeparator();
- void bookmarkPage();
- void autoExpand(const QModelIndex &root = QModelIndex());
void onCollapse(const QModelIndex &index);
void onExpand(const QModelIndex &index);
- void callAutoExpand();
+ void bookmarkCurrentPage();
+ void loadFoldedState(const QModelIndex &root);
+ void loadFoldedState();
+
private:
void setup();
@@ -84,10 +83,8 @@ private:
KBookmark bookmarkForIndex(const QModelIndex &index);
UrlTreeView *m_treeView;
- QStringList m_expList;
- KActionCollection m_ac;
- KMenu *menu;
- bool expandLock;
+ KActionCollection *m_ac;
+ bool m_loadingState;
};
#endif // BOOKMARKSPANEL_H