KMessageBox::error(parentWidget(),i18n("There was an error with the downloaded DTEP tarball file. Possible causes are damaged archive or invalid directory structure in the archive."),i18n("DTEP Installation Error"));
if(KMessageBox::questionYesNo(parentWidget(),i18n("Do you want to load the newly downloaded toolbar?"),i18n("Load Toolbar"),i18n("Load"),KStdGuiItem::cancel())==KMessageBox::Yes)
{
emitloadToolbarFile(destURL);
}
}
if(!ok)
KMessageBox::error(parentWidget(),i18n("There was an error with the downloaded toolbar tarball file. Possible causes are damaged archive or invalid directory structure in the archive."),i18n("Toolbar Installation Error"));
if(KMessageBox::questionYesNo(parentWidget(),i18n("Do you want to open the newly downloaded template?"),i18n("Open Template"),KStdGuiItem::open(),KStdGuiItem::cancel())==KMessageBox::Yes)
{
emitopenFile(destURL);
}
}
if(!ok)
KMessageBox::error(parentWidget(),i18n("There was an error with the downloaded template file."),i18n("Template Installation Error"));
KMessageBox::error(parentWidget(),i18n("There was an error with the downloaded script tarball file. Possible causes are damaged archive or invalid directory structure in the archive."),i18n("Script Installation Error"));
KMessageBox::error(parentWidget(),i18n("There was an error with the downloaded script tarball file. Possible causes are damaged archive or invalid directory structure in the archive."),i18n("Documentation Installation Error"));