diff --git a/core/annotations.h b/core/annotations.h index 24faaae4f..3eea02e24 100644 --- a/core/annotations.h +++ b/core/annotations.h @@ -27,7 +27,7 @@ class Annotation; /** * @short Helper class for (recursive) annotation retrieval/storage. */ -class AnnotationUtils +class OKULAR_EXPORT AnnotationUtils { public: /** @@ -390,7 +390,7 @@ class OKULAR_EXPORT Annotation * The Window class contains all information about the popup window * of the annotation that is used to edit the content and properties. */ - class Window + class OKULAR_EXPORT Window { public: /** @@ -1016,7 +1016,7 @@ class OKULAR_EXPORT HighlightAnnotation : public Annotation * The Quad class contains 8 coordinates and style definitions * which describe a line part of the whole highlight annotation. */ - class Quad + class OKULAR_EXPORT Quad { public: /** diff --git a/core/observer.h b/core/observer.h index db0faa0de..3bb26f470 100644 --- a/core/observer.h +++ b/core/observer.h @@ -14,6 +14,8 @@ #include #include +#include "okular_export.h" + namespace Okular { /** IDs for observers. Globally defined here. **/ @@ -46,7 +48,7 @@ class Page; * Inherit this class and call Document->addObserver( yourClass ) to get * notified of asynchronous events (new pixmap generated, or changed, etc..). */ -class DocumentObserver +class OKULAR_EXPORT DocumentObserver { public: /** diff --git a/core/textpage.h b/core/textpage.h index f6994154d..4d152fa5c 100644 --- a/core/textpage.h +++ b/core/textpage.h @@ -48,7 +48,7 @@ typedef enum SearchDirection{ FromTop, FromBottom, NextResult, PreviousResult }; * Also some document types have glyphes - sets of characters rendered as one, so in search they should * appear as a text but are only one character when drawn on screen. We need to allow this. */ -class TextEntity +class OKULAR_EXPORT TextEntity { public: typedef QList List; @@ -100,7 +100,7 @@ class TextEntity * providing @see TextEntity items for every word/character of * the page. */ -class TextPage +class OKULAR_EXPORT TextPage { public: /**