Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d7e116f2 authored by Michel Ludwig's avatar Michel Ludwig

Move the definition of the 'EmbedMode' enum to 'part.h'

parent 00b01aa9
......@@ -12,7 +12,7 @@
#include <qwidget.h>
#include "core/global.h"
#include "part.h"
class Ui_DlgGeneralBase;
......
......@@ -11,8 +11,8 @@
#define _PREFERENCESDIALOG_H
#include <kconfigdialog.h>
#include "part.h"
#include "settings.h"
#include "core/global.h"
class QWidget;
class KConfigSkeleton;
......
......@@ -78,20 +78,6 @@ enum ScriptType
JavaScript = 0 ///< JavaScript code
};
/**
* Describes the possible embedding modes of the part
*
* @since 0.14 (KDE 4.8)
*/
enum EmbedMode
{
UnknownEmbedMode,
NativeShellMode, // embedded in the native Okular' shell
PrintPreviewMode, // embedded to show the print preview of a document
KHTMLPartMode, // embedded in KHTML
ViewerWidgetMode, // the part acts as a widget that can display all kinds of documents
};
}
#endif
......@@ -66,6 +66,20 @@ namespace Okular
class BrowserExtension;
class ExportFormat;
/**
* Describes the possible embedding modes of the part
*
* @since 0.14 (KDE 4.8)
*/
enum EmbedMode
{
UnknownEmbedMode,
NativeShellMode, // embedded in the native Okular' shell
PrintPreviewMode, // embedded to show the print preview of a document
KHTMLPartMode, // embedded in KHTML
ViewerWidgetMode, // the part acts as a widget that can display all kinds of documents
};
/**
* This is a "Part". It that does all the real work in a KPart
* application.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment