+ QString str = item->text(col);
+ // cut out the classification in brackets:
+ // "hominid (generic term)" -> "hominid"
+ QRegExp re("^([^\\(\\)]+)\\b\\(?.*\\)?.*$");
+ // This is for items with classifications at the beginning:
+ // "(noun) man" -> "man"; "(noun) male (generic term)" -> "male"
+ QRegExp rex("^(\\(.+\\))\\s*([^\\(\\)]+)\\s*\\(?.*\\)?.*$");
+ int pos = re.indexIn(str);
+ if (pos > -1)
+ str = re.cap(1).trimmed();
+ pos = rex.indexIn(str);
+ if (pos > -1)
+ str = rex.cap(2).trimmed();
+ entryCO->insertItem(0, str);
+ entryCO->setCurrentIndex(0);
+