diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
commit | 9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch) | |
tree | 23462fac2e862a2f408a26f94ab024c4174c3458 /src/history/historymanager.h | |
parent | rekonq 0.6.82 (diff) | |
download | rekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz |
Coding style
Diffstat (limited to 'src/history/historymanager.h')
-rw-r--r-- | src/history/historymanager.h | 19 |
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); |