KHTML -> KWebKit

This commit is contained in:
Ivailo Monev 2014-12-06 23:16:17 +00:00
parent dd98e0dfe6
commit e3fce491ee
2 changed files with 3 additions and 3 deletions

View file

@ -244,8 +244,8 @@ static Okular::EmbedMode detectEmbedMode( QWidget *parentWidget, QObject *parent
return Okular::NativeShellMode; return Okular::NativeShellMode;
if ( parent if ( parent
&& ( QByteArray( "KHTMLPart" ) == parent->metaObject()->className() ) ) && ( QByteArray( "KWebKitPart" ) == parent->metaObject()->className() ) )
return Okular::KHTMLPartMode; return Okular::KWebKitPartMode;
Q_FOREACH ( const QVariant &arg, args ) Q_FOREACH ( const QVariant &arg, args )
{ {

View file

@ -81,7 +81,7 @@ enum EmbedMode
UnknownEmbedMode, UnknownEmbedMode,
NativeShellMode, // embedded in the native Okular' shell NativeShellMode, // embedded in the native Okular' shell
PrintPreviewMode, // embedded to show the print preview of a document PrintPreviewMode, // embedded to show the print preview of a document
KHTMLPartMode, // embedded in KHTML KWebKitPartMode, // embedded in KHTML
ViewerWidgetMode // the part acts as a widget that can display all kinds of documents ViewerWidgetMode // the part acts as a widget that can display all kinds of documents
}; };