From f998ce11746f17694db006e915565bcdec5f81b9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 3 Sep 2009 22:53:13 +0200 Subject: Removed completion object from UrlBar Inserted (and improved) in HistoryManager to let it available to every class. --- src/history.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/history.h') 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; }; -- cgit v1.2.1