16 KGuiItem::assign(buttonBox->button(QDialogButtonBox::Ok), KStandardGuiItem::ok());
17 KGuiItem::assign(buttonBox->button(QDialogButtonBox::Cancel), KStandardGuiItem::cancel());
18 connect(buttonBox, SIGNAL(accepted()),
this, SLOT(accept()));
19 connect(buttonBox, SIGNAL(rejected()),
this, SLOT(reject()));