Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|| parent->objectName() == QLatin1String( "okular/okular__Shell" ) ) )
return Okular::NativeShellMode;
- if ( parent
- && ( QByteArray( "KWebKitPart" ) == parent->metaObject()->className() ) )
- return Okular::KWebKitPartMode;
-
Q_FOREACH ( const QVariant &arg, args )
{
if ( arg.type() == QVariant::String )
UnknownEmbedMode,
NativeShellMode, // embedded in the native Okular' shell
PrintPreviewMode, // embedded to show the print preview of a document
- KWebKitPartMode, // embedded in KWebKit
ViewerWidgetMode // the part acts as a widget that can display all kinds of documents
};