connect(searchED, SIGNAL(returnPressed()),
this, SLOT(slotNextClicked()));
connect(searchED, SIGNAL(returnPressed()),
this, SLOT(slotNextClicked()));
textBeforeED->setReadOnly(true);
textBeforeED->setFocusPolicy(QWidget::NoFocus);
citationStyleCO->setEnabled(false);
textBeforeED->setReadOnly(true);
textBeforeED->setFocusPolicy(QWidget::NoFocus);
citationStyleCO->setEnabled(false);
citeLB->setSelected(sel - 1, true);
form_->citekeys.insert(it - 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
citeLB->setSelected(sel - 1, true);
form_->citekeys.insert(it - 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
citeLB->setSelected(sel + 1, true);
form_->citekeys.insert(it + 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
citeLB->setSelected(sel + 1, true);
form_->citekeys.insert(it + 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
void QCitationDialog::doFind(biblio::Direction dir)
{
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
void QCitationDialog::doFind(biblio::Direction dir)
{
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
int const top = max(found - 5, 1);
bibLB->setTopItem(top);
bibLB->setSelected(found, true);
int const top = max(found - 5, 1);
bibLB->setTopItem(top);
bibLB->setSelected(found, true);