Added history
[mdictionary] / trunk / src / base / backbone / backbone.cpp
index d311c98..220682c 100644 (file)
@@ -42,6 +42,9 @@ void Backbone::init() {
    connect(&_timerSearch, SIGNAL(timeout()), this, SLOT(translationReady()));
    connect(&_timerHtmlSearch, SIGNAL(timeout()), this,
            SLOT(htmlTranslationReady()));
+
+
+   _history = new History(this);
 }
 
 Backbone::Backbone(QString pluginPath, QString configPath, QObject *parent)
@@ -106,8 +109,8 @@ QList<CommonDictInterface* > Backbone::getPlugins() {
 
 
 
-QList<QString> Backbone::getHistory() {
-    //TODO code needed
+History* Backbone::history() {
+    return _history;
 }