summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h15
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;
};