rem: KNDialogListBox *list = new KNDialogListBox(page);
add: KNDialogListBox *list = new KNDialogListBox(true, page);
context: int selectDialog(QWidget *parent, const QString &caption, const QStringList &options, int initialValue){  KDialogBase *dlg=new KDialogBase(KDialogBase::Plain, caption, KDialogBase::Ok|KDialogBase::Cancel,                                   KDialogBase::Ok, parent);  QFrame *page = dlg->plainPage();  QHBoxLayout *pageL = new QHBoxLayout(page,8,5);  KNDialogListBox *list = new KNDialogListBox(page);  pageL->addWidget(list);  QString s;  for ( QStringList::ConstIterator it = options.begin(); it != options.end(); ++it ) {    s = (*it);    s.replace(QRegExp("&"),"");   // remove accelerators    list->insertItem(s);  }  list->setCurrentItem(initialValue);  list->setFocus();  restoreWindowSize("selectBox", dlg, QSize(247,174));  int ret;  if (dlg->exec())    ret = list->currentItem();  else    ret = -1;  saveWindowSize("selectBox", dlg->size());  delete dlg;  return ret;}