summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkspanel.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-05 00:51:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-05 00:51:41 +0200
commit3f2cfd3dab93f212504de7bdcdc6625659170ec1 (patch)
tree69414dfec1fe84470b11325324ad2be6b685dae7 /src/bookmarks/bookmarkspanel.h
parentAwesome bar speed up (diff)
downloadrekonq-3f2cfd3dab93f212504de7bdcdc6625659170ec1.tar.xz
This commit implements some speed optimizations on startup
as loading the dockwidgets show on first show. It also cleans up bookmarks menu loading.
Diffstat (limited to 'src/bookmarks/bookmarkspanel.h')
-rw-r--r--src/bookmarks/bookmarkspanel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkspanel.h b/src/bookmarks/bookmarkspanel.h
index b2a9f264..3d2dc26b 100644
--- a/src/bookmarks/bookmarkspanel.h
+++ b/src/bookmarks/bookmarkspanel.h
@@ -61,6 +61,9 @@ signals:
void itemHovered(const QString &);
void saveOnlyRequested();
+public slots:
+ void showing(bool);
+
private slots:
void contextMenu(const QPoint &pos);
@@ -70,13 +73,14 @@ private slots:
void loadFoldedState(const QModelIndex &root);
void loadFoldedState();
-
private:
void setup();
KBookmark bookmarkForIndex(const QModelIndex &index);
PanelTreeView *m_treeView;
bool m_loadingState;
+
+ bool _loaded;
};
#endif // BOOKMARKSPANEL_H