if(KIO::NetAccess::exists(saveURL,FALSE,widget())&&KMessageBox::warningContinueCancel(widget(),i18n("A file named '%1' already exists. Are you sure you want to overwrite it?").arg(saveURL.filename()),TQString::null,i18n("Overwrite"))!=KMessageBox::Continue)
if(TDEIO::NetAccess::exists(saveURL,FALSE,widget())&&KMessageBox::warningContinueCancel(widget(),i18n("A file named '%1' already exists. Are you sure you want to overwrite it?").arg(saveURL.filename()),TQString::null,i18n("Overwrite"))!=KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(widget(),i18n("A file named '%1' already exists. Are you sure you want to overwrite it?").arg(exportURL.filename()),TQString::null,i18n("Overwrite"))!=KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(widget(),i18n("A file named '%1' already exists. Are you sure you want to overwrite it?").arg(exportURL.filename()),TQString::null,i18n("Overwrite"))!=KMessageBox::Continue)
KMessageBox::errorList(widget(),TQString(i18n("File could not be exported in '%1'.")).arg(exportURL.prettyURL()).append(i18n("\n\nSee the following error log for details.")),errorLog,i18n("Exporting failed"));
KMessageBox::errorList(widget(),TQString(i18n("File could not be exported in '%1'.")).arg(exportURL.prettyURL()).append(i18n("\n\nSee the following error log for details.")),errorLog,i18n("Exporting failed"));
m_actionEditSelectAll->setToolTip(i18n("Select all BibTeX elements"));
m_actionEditSelectAll->setToolTip(i18n("Select all BibTeX elements"));
m_actionElementSendToLyX=newKAction(i18n("Send Reference to &LyX"),CTRL+SHIFT+Key_L,m_documentWidget,SLOT(sendSelectedToLyx()),actionCollection(),"element_sendtolyx");
m_actionElementSendToLyX=newTDEAction(i18n("Send Reference to &LyX"),CTRL+SHIFT+Key_L,m_documentWidget,SLOT(sendSelectedToLyx()),actionCollection(),"element_sendtolyx");
m_actionElementSendToLyX->setToolTip(i18n("Send a reference of the selected BibTeX elements to LyX"));
m_actionElementSendToLyX->setToolTip(i18n("Send a reference of the selected BibTeX elements to LyX"));
actionSourceEditor->setToolTip(i18n("Configure the Source Editor"));
actionSourceEditor->setToolTip(i18n("Configure the Source Editor"));
(newKAction(i18n("Article"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_article"))->setToolTip(i18n("Add an article to the BibTeX file"));
(newTDEAction(i18n("Article"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_article"))->setToolTip(i18n("Add an article to the BibTeX file"));
(newKAction(i18n("Book"),"element_new_entry_book",CTRL+Key_B,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_book"))->setToolTip(i18n("Add a book to the BibTeX file"));
(newTDEAction(i18n("Book"),"element_new_entry_book",CTRL+Key_B,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_book"))->setToolTip(i18n("Add a book to the BibTeX file"));
(newKAction(i18n("Booklet"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_booklet"))->setToolTip(i18n("Add a booklet to the BibTeX file"));
(newTDEAction(i18n("Booklet"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_booklet"))->setToolTip(i18n("Add a booklet to the BibTeX file"));
(newKAction(i18n("Electronic (IEEE)"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_electronic"))->setToolTip(i18n("Add an electronic reference (IEEE) to the BibTeX file"));
(newTDEAction(i18n("Electronic (IEEE)"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_electronic"))->setToolTip(i18n("Add an electronic reference (IEEE) to the BibTeX file"));
(newKAction(i18n("InBook"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_inbook"))->setToolTip(i18n("Add a part of a book to the BibTeX file"));
(newTDEAction(i18n("InBook"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_inbook"))->setToolTip(i18n("Add a part of a book to the BibTeX file"));
(newKAction(i18n("InCollection"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_incollection"))->setToolTip(i18n("Add a publication which is part of some collection to the BibTeX file"));
(newTDEAction(i18n("InCollection"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_incollection"))->setToolTip(i18n("Add a publication which is part of some collection to the BibTeX file"));
(newKAction(i18n("InProceedings"),"element_new_entry_inproceedings",CTRL+Key_I,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_inproceedings"))->setToolTip(i18n("Add a publication which is part of some proceedings to the BibTeX file"));
(newTDEAction(i18n("InProceedings"),"element_new_entry_inproceedings",CTRL+Key_I,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_inproceedings"))->setToolTip(i18n("Add a publication which is part of some proceedings to the BibTeX file"));
(newKAction(i18n("Manual"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_manual"))->setToolTip(i18n("Add a manual to the BibTeX file"));
(newTDEAction(i18n("Manual"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_manual"))->setToolTip(i18n("Add a manual to the BibTeX file"));
(newKAction(i18n("MastersThesis"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_mastersthesis"))->setToolTip(i18n("Add a master or diploma thesis to the BibTeX file"));
(newTDEAction(i18n("MastersThesis"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_mastersthesis"))->setToolTip(i18n("Add a master or diploma thesis to the BibTeX file"));
(newKAction(i18n("Misc"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_misc"))->setToolTip(i18n("Add a not specified document or reference to the BibTeX file"));
(newTDEAction(i18n("Misc"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_misc"))->setToolTip(i18n("Add a not specified document or reference to the BibTeX file"));
(newKAction(i18n("PhDThesis"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_phdthesis"))->setToolTip(i18n("Add a PhD thesis to the BibTeX file"));
(newTDEAction(i18n("PhDThesis"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_phdthesis"))->setToolTip(i18n("Add a PhD thesis to the BibTeX file"));
(newKAction(i18n("Proceedings"),"element_new_entry_phdthesis",CTRL+Key_P,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_proceedings"))->setToolTip(i18n("Add some proceedings to the BibTeX file"));
(newTDEAction(i18n("Proceedings"),"element_new_entry_phdthesis",CTRL+Key_P,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_proceedings"))->setToolTip(i18n("Add some proceedings to the BibTeX file"));
(newKAction(i18n("TechReport"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_techreport"))->setToolTip(i18n("Add a technical report to the BibTeX file"));
(newTDEAction(i18n("TechReport"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_techreport"))->setToolTip(i18n("Add a technical report to the BibTeX file"));
(newKAction(i18n("Unpublished"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_unpublished"))->setToolTip(i18n("Add an unpublished document to the BibTeX file"));
(newTDEAction(i18n("Unpublished"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_entry_unpublished"))->setToolTip(i18n("Add an unpublished document to the BibTeX file"));
(newKAction(i18n("Preamble"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_preamble"))->setToolTip(i18n("Add a preamble to the BibTeX file"));
(newTDEAction(i18n("Preamble"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_preamble"))->setToolTip(i18n("Add a preamble to the BibTeX file"));
(newKAction(i18n("Comment"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_comment"))->setToolTip(i18n("Add a comment to the BibTeX file"));
(newTDEAction(i18n("Comment"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_comment"))->setToolTip(i18n("Add a comment to the BibTeX file"));
(newKAction(i18n("Macro"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_macro"))->setToolTip(i18n("Add a macro to the BibTeX file"));
(newTDEAction(i18n("Macro"),0,this,SLOT(slotNewElement()),actionCollection(),"element_new_macro"))->setToolTip(i18n("Add a macro to the BibTeX file"));
TQLabel*label=newTQLabel(i18n("Select elements to merge. At least two elements must be checked to perform a merge operation. Checked entries will be replaced by the merged element, unchecked elements will be kept."),vboxContainer);
TQLabel*label=newTQLabel(i18n("Select elements to merge. At least two elements must be checked to perform a merge operation. Checked entries will be replaced by the merged element, unchecked elements will be kept."),vboxContainer);
TQStringSettingsIdSuggestions::exampleBibTeXEntry="@Article{ dijkstra1983terminationdetect,\nauthor = {Edsger W. Dijkstra and W. H. J. Feijen and A. J. M. {van Gasteren}},\ntitle = {{Derivation of a Termination Detection Algorithm for Distributed Computations}},\njournal = {Information Processing Letters},\nvolume = 16,\nnumber = 5,\npages = {217--219},\nmonth = jun,\nyear = 1983\n}";
TQStringSettingsIdSuggestions::exampleBibTeXEntry="@Article{ dijkstra1983terminationdetect,\nauthor = {Edsger W. Dijkstra and W. H. J. Feijen and A. J. M. {van Gasteren}},\ntitle = {{Derivation of a Termination Detection Algorithm for Distributed Computations}},\njournal = {Information Processing Letters},\nvolume = 16,\nnumber = 5,\npages = {217--219},\nmonth = jun,\nyear = 1983\n}";