5 * John Levon, moz@compsoc.man.ac.uk
10 * \brief various useful functions for manipulating dialog widgets
22 namespace kde_helpers {
24 bool setComboFromStr(QComboBox *box, const string & str)
26 for (int i = 0; i < box->count(); i++) {
27 if (str == box->text(i)) {
28 box->setCurrentItem(i);
36 } // namespace kde_helpers