~bfiller/webbrowser-app/fix-tab-tests-etc

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/Extras/Browser/plugin.cpp

  • Committer: Tarmac
  • Author(s): Olivier Tilloy
  • Date: 2013-07-12 16:31:27 UTC
  • mfrom: (188.1.29 domain-name)
  • Revision ID: tarmac-20130712163127-1h0345ccp72kd223
Refactor the models to group history entries by domain name, not by host.

Approved by Bill Filler, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "history-model.h"
21
21
#include "history-matches-model.h"
22
22
#include "history-timeframe-model.h"
23
 
#include "history-host-model.h"
24
 
#include "history-hostlist-model.h"
 
23
#include "history-domain-model.h"
 
24
#include "history-domainlist-model.h"
25
25
#include "tabs-model.h"
26
26
#include "webthumbnail-provider.h"
27
27
#include "webview-thumbnailer.h"
52
52
    qmlRegisterType<HistoryModel>(uri, 0, 1, "HistoryModel");
53
53
    qmlRegisterType<HistoryMatchesModel>(uri, 0, 1, "HistoryMatchesModel");
54
54
    qmlRegisterType<HistoryTimeframeModel>(uri, 0, 1, "HistoryTimeframeModel");
55
 
    qmlRegisterType<HistoryHostModel>(uri, 0, 1, "HistoryHostModel");
56
 
    qmlRegisterType<HistoryHostListModel>(uri, 0, 1, "HistoryHostListModel");
 
55
    qmlRegisterType<HistoryDomainModel>(uri, 0, 1, "HistoryDomainModel");
 
56
    qmlRegisterType<HistoryDomainListModel>(uri, 0, 1, "HistoryDomainListModel");
57
57
    qmlRegisterType<TabsModel>(uri, 0, 1, "TabsModel");
58
58
    qmlRegisterType<WebviewThumbnailer>(uri, 0, 1, "WebviewThumbnailer");
59
59
}