summaryrefslogtreecommitdiff
path: root/src/history/historymodels.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-10 17:21:47 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-18 11:37:08 +0200
commita656e6c5fd5662a3d990115e2b5851570149d594 (patch)
tree06f85884c8c81b1c1d6db697b2f47d4aef779ae8 /src/history/historymodels.h
parentImproving SSL widget & dialog, step 3 (diff)
downloadrekonq-a656e6c5fd5662a3d990115e2b5851570149d594.tar.xz
WARNING: HISTORY_VERSION upgrade!!
This commit changes rekonq history data struct to manage also the first time you visited a site. This way we can "expose" this new info in the SSL widget. (We can obviously do a lot more with it...)
Diffstat (limited to 'src/history/historymodels.h')
-rw-r--r--src/history/historymodels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/history/historymodels.h b/src/history/historymodels.h
index 8cb1a5dd..7388cef5 100644
--- a/src/history/historymodels.h
+++ b/src/history/historymodels.h
@@ -56,7 +56,8 @@ public:
DateRole = Qt::UserRole + 1,
DateTimeRole = Qt::UserRole + 2,
UrlRole = Qt::UserRole + 3,
- UrlStringRole = Qt::UserRole + 4
+ UrlStringRole = Qt::UserRole + 4,
+ FirstDateTimeVisitRole = Qt::UserRole + 5
};
explicit HistoryModel(HistoryManager *history, QObject *parent = 0);