mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Reactivate some generator
This commit is contained in:
parent
5b88e93891
commit
89bb5562ac
|
@ -108,9 +108,9 @@ endif(TIFF_FOUND)
|
|||
|
||||
add_subdirectory(xps)
|
||||
|
||||
#add_subdirectory(ooo)
|
||||
add_subdirectory(ooo)
|
||||
|
||||
#add_subdirectory(fictionbook)
|
||||
add_subdirectory(fictionbook)
|
||||
|
||||
add_subdirectory(comicbook)
|
||||
|
||||
|
|
|
@ -763,7 +763,7 @@ bool Converter::convertLink( const QDomElement &element )
|
|||
mLocalLinks.insert( href.mid( 1 ), QPair<int, int>( startPosition, endPosition ) );
|
||||
} else {
|
||||
// external link
|
||||
Okular::BrowseAction *action = new Okular::BrowseAction( href );
|
||||
Okular::BrowseAction *action = new Okular::BrowseAction( QUrl(href) );
|
||||
emit addAction( action, startPosition, endPosition );
|
||||
}
|
||||
|
||||
|
|
|
@ -43,3 +43,5 @@ void FictionBookGenerator::addPages( KConfigDialog* dlg )
|
|||
|
||||
dlg->addPage( widget, generalSettings(), i18n("FictionBook"), "okular-fb2", i18n("FictionBook Backend Configuration") );
|
||||
}
|
||||
#include "generator_fb.moc"
|
||||
|
||||
|
|
|
@ -553,7 +553,7 @@ bool Converter::convertLink( QTextCursor *cursor, const QDomElement &element, co
|
|||
|
||||
int endPosition = cursor->position();
|
||||
|
||||
Okular::Action *action = new Okular::BrowseAction( element.attribute( "href" ) );
|
||||
Okular::Action *action = new Okular::BrowseAction( QUrl(element.attribute( "href" )) );
|
||||
emit addAction( action, startPosition, endPosition );
|
||||
|
||||
return true;
|
||||
|
|
|
@ -51,3 +51,4 @@ void KOOOGenerator::walletDataForFile( const QString &fileName, QString *walletN
|
|||
*walletName = KWallet::Wallet::LocalWallet();
|
||||
*walletFolder = KWallet::Wallet::PasswordFolder();
|
||||
}
|
||||
#include "generator_ooo.moc"
|
||||
|
|
Loading…
Reference in a new issue