Add the implementation of close link action
That two actions only work within inside kpdf as in konqueror they would be quite shocking
Reverse the order link actions are added to m_rects because there are some pdf that have a rect with a link and inside of that another link with a snall rect, and with this order we match acrobat behaviour
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=435350
elseKMessageBox::information(widget(),i18n("This link points to a close document action that does not work when using the embedded viewer."),QString::null,"warnNoCloseIfNotInKPDF");
}
voidPart::updateViewActions()
{
boolopened=m_document->pages()>0;
@ -521,6 +538,11 @@ void Part::psTransformEnded()
openFile();
}
voidPart::cannotQuit()
{
KMessageBox::information(widget(),i18n("This link points to a quit application action that does not work when using the embedded viewer."),QString::null,"warnNoQuitIfNotInKPDF");