summaryrefslogtreecommitdiff
path: root/src/history/historymanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/history/historymanager.h')
-rw-r--r--src/history/historymanager.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index 72a1f12a..a7a7661e 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -70,7 +70,7 @@ public:
inline bool operator==(const HistoryItem &other) const
{
return other.title == title
- && other.url == url
+ && other.url == url
&& other.dateTime == dateTime;
}
@@ -120,13 +120,22 @@ public:
QList<HistoryItem> find(const QString &text);
- QList<HistoryItem> history() const { return m_history; };
+ QList<HistoryItem> history() const
+ {
+ return m_history;
+ };
void setHistory(const QList<HistoryItem> &history, bool loadedAndSorted = false);
// History manager keeps around these models for use by the completer and other classes
- HistoryFilterModel *historyFilterModel() const { return m_historyFilterModel; };
- HistoryTreeModel *historyTreeModel() const { return m_historyTreeModel; };
-
+ HistoryFilterModel *historyFilterModel() const
+ {
+ return m_historyFilterModel;
+ };
+ HistoryTreeModel *historyTreeModel() const
+ {
+ return m_historyTreeModel;
+ };
+
Q_SIGNALS:
void historyReset();
void entryAdded(const HistoryItem &item);