constKMessageBox::ButtonCodeuserAnswer=KMessageBox::questionTwoActions(this,i18nc("%1 is an error message","%1\nIf you are sure no other program is using the file you can choose to ignore the lock and open the file anyway.\nDo you want to open the file?",KEduVocDocument::errorDescription(result)),i18n("Open File"),KStandardGuiItem::open(),KStandardGuiItem::cancel());
#else
constKMessageBox::ButtonCodeuserAnswer=KMessageBox::questionYesNo(this,i18nc("%1 is an error message","%1\nIf you are sure no other program is using the file you can choose to ignore the lock and open the file anyway.\nDo you want to open the file?",KEduVocDocument::errorDescription(result)));
intwant_save=KMessageBox::warningTwoActionsCancel(this,i18n("The current document has been modified.\nDo you want to save it?"),QString(),KStandardGuiItem::save(),KStandardGuiItem::discard());
#else
intwant_save=KMessageBox::warningYesNoCancel(this,i18n("The current document has been modified.\nDo you want to save it?"),QString(),KStandardGuiItem::save(),KStandardGuiItem::discard());