Added saving to configs new dictionaries and active/inactive state
[mdictionary] / trunk / src / base / backbone / backbone.h
index 9159318..fee6e60 100644 (file)
@@ -94,6 +94,7 @@ public Q_SLOTS:
 
     /*! adds new dictionary and activate it
       \param dict dictionary to be added
+      \param active decides whether searches are perfomed in given dictionaries
       */
     void addDictionary(CommonDictInterface* dict, bool active = 1);
 
@@ -149,6 +150,7 @@ private:
     void loadDicts();
     void saveState(QSettings*, Settings*, bool, uint);
     CommonDictInterface* plugin(QString type); //< search for given type plugin
+    void addInternalDictionary(CommonDictInterface*, bool);
     //void writeConfig(QString key, QString value);
 
 };