new searches and threads, merging search results from multiple dictionaries.
Each plugin may live in multiple instances - each with its own dictionary,
- backbone must provide way to create them at start (with specific Settings) and
+ backbone must provide a way to create them at start (with specific Settings) and
distinguish each ditionary.
Backbone also manages bookmarks and history: providing interface to GUI.
*/
void search(QString word);
- /*! sets active dictionaries (searches are performed only in active dicts
+ /*! sets active dictionaries (searches are performed only in active dicts)
\param List of dictionaries to be activated
*/
void selectedDictionaries(QList<CommonDictInterface* >);
}
- /*! Searching for list of bookmarks may take some time, so I moved it to
+ /*! Searching a list of bookmarks may take some time, so I moved it to
new thread (to avoid GUI blocking), further it's consistent with ordinary
- searching for list of words (\see search)
+ searching a list of words (\see search)
*/
void fetchBookmarks() {
_result.clear();
void addInternalDictionary(CommonDictInterface*, bool);
void savePrefs(QSettings*);
- CommonDictInterface* plugin(QString type); // searches for plugin of given type
+ CommonDictInterface* plugin(QString type); // searches for plugin of a given type
QList<CommonDictInterface*> activeDicts();
bool containsDict(uint hash) const;
int _dictNum;