mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
KHTML -> KWebKit
This commit is contained in:
parent
dd98e0dfe6
commit
e3fce491ee
2 changed files with 3 additions and 3 deletions
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue