summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-03 22:53:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-03 22:53:13 +0200
commitf998ce11746f17694db006e915565bcdec5f81b9 (patch)
tree7a4b9d615f919d55fee30bc394aba7d16ad74b52 /src/history.h
parentFix compilation and improved a (little) bit (diff)
downloadrekonq-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.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;
};