diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-03 22:53:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-03 22:53:13 +0200 |
commit | f998ce11746f17694db006e915565bcdec5f81b9 (patch) | |
tree | 7a4b9d615f919d55fee30bc394aba7d16ad74b52 /src/history.h | |
parent | Fix compilation and improved a (little) bit (diff) | |
download | rekonq-f998ce11746f17694db006e915565bcdec5f81b9.tar.xz |
Removed completion object from UrlBar
Inserted (and improved) in HistoryManager to let it available to
every class.
Diffstat (limited to 'src/history.h')
-rw-r--r-- | src/history.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/history.h b/src/history.h index 24e4fea9..bd7fd7fc 100644 --- a/src/history.h +++ b/src/history.h @@ -87,7 +87,14 @@ class HistoryModel; class HistoryFilterModel; class HistoryTreeModel; +class KCompletion; + +/** + * THE History Manager: + * It manages rekonq history + * + */ class HistoryManager : public QWebHistoryInterface { Q_OBJECT @@ -119,6 +126,11 @@ public: HistoryFilterModel *historyFilterModel() const; HistoryTreeModel *historyTreeModel() const; + /** + * @returns the KCompletion object. + */ + KCompletion *completionObject() const; + public slots: void clear(); void loadSettings(); @@ -143,6 +155,9 @@ private: HistoryModel *m_historyModel; HistoryFilterModel *m_historyFilterModel; HistoryTreeModel *m_historyTreeModel; + + // the completion object we sync with + KCompletion *m_completion; }; |