Commit 5da7c5f7 authored by Laurent Montel's avatar Laurent Montel 😁

port to qCDebug. Autogenerate export headers

parent 8457b66b
...@@ -172,6 +172,7 @@ ki18n_wrap_ui(okularcore_SRCS ...@@ -172,6 +172,7 @@ ki18n_wrap_ui(okularcore_SRCS
kconfig_add_kcfg_files(okularcore_SRCS conf/settings_core.kcfgc ) kconfig_add_kcfg_files(okularcore_SRCS conf/settings_core.kcfgc )
add_library(okularcore SHARED ${okularcore_SRCS}) add_library(okularcore SHARED ${okularcore_SRCS})
generate_export_header(okularcore BASE_NAME okularcore)
# Special handling for linking okularcore on OSX/Apple # Special handling for linking okularcore on OSX/Apple
IF(APPLE) IF(APPLE)
...@@ -273,6 +274,7 @@ message("KF5: Enable ui/tts.cpp again") ...@@ -273,6 +274,7 @@ message("KF5: Enable ui/tts.cpp again")
#qt5_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml) #qt5_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml)
add_library(okularpart MODULE ${okularpart_SRCS}) add_library(okularpart MODULE ${okularpart_SRCS})
generate_export_header(okularpart BASE_NAME okularpart)
target_link_libraries(okularpart okularcore Qt5::Svg KF5::Parts ${MATH_LIB} Phonon::phonon4qt5 KF5::Solid) target_link_libraries(okularpart okularcore Qt5::Svg KF5::Parts ${MATH_LIB} Phonon::phonon4qt5 KF5::Solid)
......
...@@ -4,7 +4,7 @@ File=okular.kcfg ...@@ -4,7 +4,7 @@ File=okular.kcfg
Inherits=SettingsCore Inherits=SettingsCore
Mutators=true Mutators=true
Singleton=true Singleton=true
Visibility=OKULAR_PART_EXPORT Visibility=OKULARPART_EXPORT
IncludeFiles=settings_core.h,okular_part_export.h IncludeFiles=settings_core.h,okularpart_export.h
SourceIncludeFiles=qdom.h,QStandardPaths SourceIncludeFiles=qdom.h,QStandardPaths
MemberVariables=dpointer MemberVariables=dpointer
...@@ -3,6 +3,6 @@ NameSpace=Okular ...@@ -3,6 +3,6 @@ NameSpace=Okular
File=okular_core.kcfg File=okular_core.kcfg
Mutators=true Mutators=true
Singleton=true Singleton=true
Visibility=OKULAR_EXPORT Visibility=OKULARCORE_EXPORT
IncludeFiles=core/okular_export.h IncludeFiles=okularcore_export.h
MemberVariables=dpointer MemberVariables=dpointer
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define _OKULAR_ACTION_H_ #define _OKULAR_ACTION_H_
#include "global.h" #include "global.h"
#include "okular_export.h" #include "okularcore_export.h"
#include <QtCore/QString> #include <QtCore/QString>
#include <QtCore/QVariant> #include <QtCore/QVariant>
...@@ -40,7 +40,7 @@ class DocumentViewport; ...@@ -40,7 +40,7 @@ class DocumentViewport;
* widgets to reimplement the 'actionType' method and return the type of * widgets to reimplement the 'actionType' method and return the type of
* the action described by the reimplemented class. * the action described by the reimplemented class.
*/ */
class OKULAR_EXPORT Action class OKULARCORE_EXPORT Action
{ {
public: public:
/** /**
...@@ -112,7 +112,7 @@ class OKULAR_EXPORT Action ...@@ -112,7 +112,7 @@ class OKULAR_EXPORT Action
* The Goto action changes the viewport to another page * The Goto action changes the viewport to another page
* or loads an external document. * or loads an external document.
*/ */
class OKULAR_EXPORT GotoAction : public Action class OKULARCORE_EXPORT GotoAction : public Action
{ {
public: public:
/** /**
...@@ -178,7 +178,7 @@ class OKULAR_EXPORT GotoAction : public Action ...@@ -178,7 +178,7 @@ class OKULAR_EXPORT GotoAction : public Action
/** /**
* The Execute action executes an external application. * The Execute action executes an external application.
*/ */
class OKULAR_EXPORT ExecuteAction : public Action class OKULARCORE_EXPORT ExecuteAction : public Action
{ {
public: public:
/** /**
...@@ -223,7 +223,7 @@ class OKULAR_EXPORT ExecuteAction : public Action ...@@ -223,7 +223,7 @@ class OKULAR_EXPORT ExecuteAction : public Action
* The Browse action browses an url by opening a web browser or * The Browse action browses an url by opening a web browser or
* email client, depedning on the url protocol (e.g. http, mailto, etc.). * email client, depedning on the url protocol (e.g. http, mailto, etc.).
*/ */
class OKULAR_EXPORT BrowseAction : public Action class OKULARCORE_EXPORT BrowseAction : public Action
{ {
public: public:
/** /**
...@@ -262,7 +262,7 @@ class OKULAR_EXPORT BrowseAction : public Action ...@@ -262,7 +262,7 @@ class OKULAR_EXPORT BrowseAction : public Action
* The DocumentAction action contains an action that is performed on * The DocumentAction action contains an action that is performed on
* the current document. * the current document.
*/ */
class OKULAR_EXPORT DocumentAction : public Action class OKULARCORE_EXPORT DocumentAction : public Action
{ {
public: public:
/** /**
...@@ -320,7 +320,7 @@ class OKULAR_EXPORT DocumentAction : public Action ...@@ -320,7 +320,7 @@ class OKULAR_EXPORT DocumentAction : public Action
/** /**
* The Sound action plays a sound on activation. * The Sound action plays a sound on activation.
*/ */
class OKULAR_EXPORT SoundAction : public Action class OKULARCORE_EXPORT SoundAction : public Action
{ {
public: public:
/** /**
...@@ -384,7 +384,7 @@ class OKULAR_EXPORT SoundAction : public Action ...@@ -384,7 +384,7 @@ class OKULAR_EXPORT SoundAction : public Action
* *
* @since 0.7 (KDE 4.1) * @since 0.7 (KDE 4.1)
*/ */
class OKULAR_EXPORT ScriptAction : public Action class OKULARCORE_EXPORT ScriptAction : public Action
{ {
public: public:
/** /**
...@@ -429,7 +429,7 @@ class OKULAR_EXPORT ScriptAction : public Action ...@@ -429,7 +429,7 @@ class OKULAR_EXPORT ScriptAction : public Action
* *
* @since 0.15 (KDE 4.9) * @since 0.15 (KDE 4.9)
*/ */
class OKULAR_EXPORT MovieAction : public Action class OKULARCORE_EXPORT MovieAction : public Action
{ {
public: public:
/** /**
...@@ -488,7 +488,7 @@ class OKULAR_EXPORT MovieAction : public Action ...@@ -488,7 +488,7 @@ class OKULAR_EXPORT MovieAction : public Action
* *
* @since 0.16 (KDE 4.10) * @since 0.16 (KDE 4.10)
*/ */
class OKULAR_EXPORT RenditionAction : public Action class OKULARCORE_EXPORT RenditionAction : public Action
{ {
public: public:
/** /**
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <QtXml/QDomDocument> #include <QtXml/QDomDocument>
#include <QtXml/QDomElement> #include <QtXml/QDomElement>
#include "okular_export.h" #include "okularcore_export.h"
#include "area.h" #include "area.h"
namespace Okular { namespace Okular {
...@@ -49,7 +49,7 @@ class WidgetAnnotationPrivate; ...@@ -49,7 +49,7 @@ class WidgetAnnotationPrivate;
/** /**
* @short Helper class for (recursive) annotation retrieval/storage. * @short Helper class for (recursive) annotation retrieval/storage.
*/ */
class OKULAR_EXPORT AnnotationUtils class OKULARCORE_EXPORT AnnotationUtils
{ {
public: public:
/** /**
...@@ -87,7 +87,7 @@ class OKULAR_EXPORT AnnotationUtils ...@@ -87,7 +87,7 @@ class OKULAR_EXPORT AnnotationUtils
* An Annotation is an object (text note, highlight, sound, popup window, ..) * An Annotation is an object (text note, highlight, sound, popup window, ..)
* contained by a Page in the document. * contained by a Page in the document.
*/ */
class OKULAR_EXPORT Annotation class OKULARCORE_EXPORT Annotation
{ {
/// @cond PRIVATE /// @cond PRIVATE
friend class AnnotationObjectRect; friend class AnnotationObjectRect;
...@@ -302,7 +302,7 @@ class OKULAR_EXPORT Annotation ...@@ -302,7 +302,7 @@ class OKULAR_EXPORT Annotation
* The Style class contains all information about style of the * The Style class contains all information about style of the
* annotation. * annotation.
*/ */
class OKULAR_EXPORT Style class OKULARCORE_EXPORT Style
{ {
public: public:
/** /**
...@@ -437,7 +437,7 @@ class OKULAR_EXPORT Annotation ...@@ -437,7 +437,7 @@ class OKULAR_EXPORT Annotation
* The Window class contains all information about the popup window * The Window class contains all information about the popup window
* of the annotation that is used to edit the content and properties. * of the annotation that is used to edit the content and properties.
*/ */
class OKULAR_EXPORT Window class OKULARCORE_EXPORT Window
{ {
public: public:
/** /**
...@@ -683,7 +683,7 @@ class OKULAR_EXPORT Annotation ...@@ -683,7 +683,7 @@ class OKULAR_EXPORT Annotation
* *
* @since 0.15 (KDE 4.9) * @since 0.15 (KDE 4.9)
*/ */
class OKULAR_EXPORT AnnotationProxy class OKULARCORE_EXPORT AnnotationProxy
{ {
public: public:
enum Capability enum Capability
...@@ -728,7 +728,7 @@ class OKULAR_EXPORT AnnotationProxy ...@@ -728,7 +728,7 @@ class OKULAR_EXPORT AnnotationProxy
virtual void notifyRemoval( Annotation *annotation, int page ) = 0; virtual void notifyRemoval( Annotation *annotation, int page ) = 0;
}; };
class OKULAR_EXPORT TextAnnotation : public Annotation class OKULARCORE_EXPORT TextAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -853,7 +853,7 @@ class OKULAR_EXPORT TextAnnotation : public Annotation ...@@ -853,7 +853,7 @@ class OKULAR_EXPORT TextAnnotation : public Annotation
Q_DISABLE_COPY( TextAnnotation ) Q_DISABLE_COPY( TextAnnotation )
}; };
class OKULAR_EXPORT LineAnnotation : public Annotation class OKULARCORE_EXPORT LineAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1013,7 +1013,7 @@ class OKULAR_EXPORT LineAnnotation : public Annotation ...@@ -1013,7 +1013,7 @@ class OKULAR_EXPORT LineAnnotation : public Annotation
Q_DISABLE_COPY( LineAnnotation ) Q_DISABLE_COPY( LineAnnotation )
}; };
class OKULAR_EXPORT GeomAnnotation : public Annotation class OKULARCORE_EXPORT GeomAnnotation : public Annotation
{ {
public: public:
// common enums // common enums
...@@ -1075,7 +1075,7 @@ class OKULAR_EXPORT GeomAnnotation : public Annotation ...@@ -1075,7 +1075,7 @@ class OKULAR_EXPORT GeomAnnotation : public Annotation
Q_DISABLE_COPY( GeomAnnotation ) Q_DISABLE_COPY( GeomAnnotation )
}; };
class OKULAR_EXPORT HighlightAnnotation : public Annotation class OKULARCORE_EXPORT HighlightAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1119,7 +1119,7 @@ class OKULAR_EXPORT HighlightAnnotation : public Annotation ...@@ -1119,7 +1119,7 @@ class OKULAR_EXPORT HighlightAnnotation : public Annotation
* The Quad class contains 8 coordinates and style definitions * The Quad class contains 8 coordinates and style definitions
* which describe a line part of the whole highlight annotation. * which describe a line part of the whole highlight annotation.
*/ */
class OKULAR_EXPORT Quad class OKULARCORE_EXPORT Quad
{ {
public: public:
/** /**
...@@ -1218,7 +1218,7 @@ class OKULAR_EXPORT HighlightAnnotation : public Annotation ...@@ -1218,7 +1218,7 @@ class OKULAR_EXPORT HighlightAnnotation : public Annotation
Q_DISABLE_COPY( HighlightAnnotation ) Q_DISABLE_COPY( HighlightAnnotation )
}; };
class OKULAR_EXPORT StampAnnotation : public Annotation class OKULARCORE_EXPORT StampAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1262,7 +1262,7 @@ class OKULAR_EXPORT StampAnnotation : public Annotation ...@@ -1262,7 +1262,7 @@ class OKULAR_EXPORT StampAnnotation : public Annotation
Q_DISABLE_COPY( StampAnnotation ) Q_DISABLE_COPY( StampAnnotation )
}; };
class OKULAR_EXPORT InkAnnotation : public Annotation class OKULARCORE_EXPORT InkAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1312,7 +1312,7 @@ class OKULAR_EXPORT InkAnnotation : public Annotation ...@@ -1312,7 +1312,7 @@ class OKULAR_EXPORT InkAnnotation : public Annotation
Q_DISABLE_COPY( InkAnnotation ) Q_DISABLE_COPY( InkAnnotation )
}; };
class OKULAR_EXPORT CaretAnnotation : public Annotation class OKULARCORE_EXPORT CaretAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1365,7 +1365,7 @@ class OKULAR_EXPORT CaretAnnotation : public Annotation ...@@ -1365,7 +1365,7 @@ class OKULAR_EXPORT CaretAnnotation : public Annotation
Q_DISABLE_COPY( CaretAnnotation ) Q_DISABLE_COPY( CaretAnnotation )
}; };
class OKULAR_EXPORT FileAttachmentAnnotation : public Annotation class OKULARCORE_EXPORT FileAttachmentAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1425,7 +1425,7 @@ class OKULAR_EXPORT FileAttachmentAnnotation : public Annotation ...@@ -1425,7 +1425,7 @@ class OKULAR_EXPORT FileAttachmentAnnotation : public Annotation
* *
* @since 0.7 (KDE 4.1) * @since 0.7 (KDE 4.1)
*/ */
class OKULAR_EXPORT SoundAnnotation : public Annotation class OKULARCORE_EXPORT SoundAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1485,7 +1485,7 @@ class OKULAR_EXPORT SoundAnnotation : public Annotation ...@@ -1485,7 +1485,7 @@ class OKULAR_EXPORT SoundAnnotation : public Annotation
* *
* @since 0.8 (KDE 4.2) * @since 0.8 (KDE 4.2)
*/ */
class OKULAR_EXPORT MovieAnnotation : public Annotation class OKULARCORE_EXPORT MovieAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1531,7 +1531,7 @@ class OKULAR_EXPORT MovieAnnotation : public Annotation ...@@ -1531,7 +1531,7 @@ class OKULAR_EXPORT MovieAnnotation : public Annotation
* *
* @since 0.16 (KDE 4.10) * @since 0.16 (KDE 4.10)
*/ */
class OKULAR_EXPORT ScreenAnnotation : public Annotation class OKULARCORE_EXPORT ScreenAnnotation : public Annotation
{ {
public: public:
/** /**
...@@ -1600,7 +1600,7 @@ class OKULAR_EXPORT ScreenAnnotation : public Annotation ...@@ -1600,7 +1600,7 @@ class OKULAR_EXPORT ScreenAnnotation : public Annotation
* *
* @since 0.16 (KDE 4.10) * @since 0.16 (KDE 4.10)
*/ */
class OKULAR_EXPORT WidgetAnnotation : public Annotation class OKULARCORE_EXPORT WidgetAnnotation : public Annotation
{ {
public: public:
/** /**
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <math.h> #include <math.h>
#include "global.h" #include "global.h"
#include "okular_export.h" #include "okularcore_export.h"
class QPolygonF; class QPolygonF;
class QRect; class QRect;
...@@ -44,7 +44,7 @@ class NormalizedShape; ...@@ -44,7 +44,7 @@ class NormalizedShape;
* That allows you to zoom the page by just multiplying the normalized points with the * That allows you to zoom the page by just multiplying the normalized points with the
* zoomed page size. * zoomed page size.
*/ */
class OKULAR_EXPORT NormalizedPoint class OKULARCORE_EXPORT NormalizedPoint
{ {
public: public:
/** /**
...@@ -102,7 +102,7 @@ class OKULAR_EXPORT NormalizedPoint ...@@ -102,7 +102,7 @@ class OKULAR_EXPORT NormalizedPoint
* NormalizedRect is a helper class which stores the coordinates * NormalizedRect is a helper class which stores the coordinates
* of a normalized rect, which is a rectangle of @see NormalizedPoints. * of a normalized rect, which is a rectangle of @see NormalizedPoints.
*/ */
class OKULAR_EXPORT NormalizedRect class OKULARCORE_EXPORT NormalizedRect
{ {
public: public:
/** /**
...@@ -319,7 +319,7 @@ class OKULAR_EXPORT NormalizedRect ...@@ -319,7 +319,7 @@ class OKULAR_EXPORT NormalizedRect
*/ */
double bottom; double bottom;
}; };
KDE_DUMMY_QHASH_FUNCTION(NormalizedRect) //KDE_DUMMY_QHASH_FUNCTION(NormalizedRect)
/** /**
* @short NormalizedRect that contains a reference to an object. * @short NormalizedRect that contains a reference to an object.
...@@ -334,7 +334,7 @@ KDE_DUMMY_QHASH_FUNCTION(NormalizedRect) ...@@ -334,7 +334,7 @@ KDE_DUMMY_QHASH_FUNCTION(NormalizedRect)
* - Image : class Image : description of an image (n/a) * - Image : class Image : description of an image (n/a)
* - Annotation: class Annotation: description of an annotation * - Annotation: class Annotation: description of an annotation
*/ */
class OKULAR_EXPORT ObjectRect class OKULARCORE_EXPORT ObjectRect
{ {
public: public:
/** /**
...@@ -428,7 +428,7 @@ class OKULAR_EXPORT ObjectRect ...@@ -428,7 +428,7 @@ class OKULAR_EXPORT ObjectRect
/** /**
* This class describes the object rectangle for an annotation. * This class describes the object rectangle for an annotation.
*/ */
class OKULAR_EXPORT AnnotationObjectRect : public ObjectRect class OKULARCORE_EXPORT AnnotationObjectRect : public ObjectRect
{ {
public: public:
/** /**
...@@ -471,7 +471,7 @@ class OKULAR_EXPORT AnnotationObjectRect : public ObjectRect ...@@ -471,7 +471,7 @@ class OKULAR_EXPORT AnnotationObjectRect : public ObjectRect
/** /**
* This class describes the object rectangle for a source reference. * This class describes the object rectangle for a source reference.
*/ */
class OKULAR_EXPORT SourceRefObjectRect : public ObjectRect class OKULARCORE_EXPORT SourceRefObjectRect : public ObjectRect
{ {
friend class ObjectRect; friend class ObjectRect;
...@@ -857,7 +857,7 @@ void RegularArea<NormalizedShape, Shape>::transform( const QTransform &matrix ) ...@@ -857,7 +857,7 @@ void RegularArea<NormalizedShape, Shape>::transform( const QTransform &matrix )
givePtr( (*this)[i] )->transform( matrix ); givePtr( (*this)[i] )->transform( matrix );
} }
class OKULAR_EXPORT RegularAreaRect : public RegularArea< NormalizedRect, QRect > class OKULARCORE_EXPORT RegularAreaRect : public RegularArea< NormalizedRect, QRect >
{ {
public: public:
RegularAreaRect(); RegularAreaRect();
...@@ -901,12 +901,12 @@ class HighlightAreaRect : public RegularAreaRect ...@@ -901,12 +901,12 @@ class HighlightAreaRect : public RegularAreaRect
/** /**
* Debug operator for normalized @p point. * Debug operator for normalized @p point.
*/ */
OKULAR_EXPORT QDebug operator<<( QDebug str, const Okular::NormalizedPoint &point ); OKULARCORE_EXPORT QDebug operator<<( QDebug str, const Okular::NormalizedPoint &point );
/** /**
* Debug operator for normalized @p rect. * Debug operator for normalized @p rect.
*/ */
OKULAR_EXPORT QDebug operator<<( QDebug str, const Okular::NormalizedRect &rect ); OKULARCORE_EXPORT QDebug operator<<( QDebug str, const Okular::NormalizedRect &rect );
#endif #endif
#endif #endif
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#ifndef _OKULAR_AUDIOPLAYER_H_ #ifndef _OKULAR_AUDIOPLAYER_H_
#define _OKULAR_AUDIOPLAYER_H_ #define _OKULAR_AUDIOPLAYER_H_
#include "okular_export.h" #include "okularcore_export.h"
#include <QtCore/QObject> #include <QtCore/QObject>
...@@ -27,7 +27,7 @@ class SoundAction; ...@@ -27,7 +27,7 @@ class SoundAction;
* Singleton utility class to play sounds in documents using the KDE sound * Singleton utility class to play sounds in documents using the KDE sound
* system. * system.
*/ */
class OKULAR_EXPORT AudioPlayer : public QObject class OKULARCORE_EXPORT AudioPlayer : public QObject
{ {
Q_OBJECT Q_OBJECT
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <kbookmark.h> #include <kbookmark.h>
#include "okular_export.h" #include "okularcore_export.h"
#include <kurl.h> #include <kurl.h>
class QAction; class QAction;
...@@ -29,7 +29,7 @@ class DocumentViewport; ...@@ -29,7 +29,7 @@ class DocumentViewport;
* This class is responsible for loading and saving the bookmarks using the * This class is responsible for loading and saving the bookmarks using the
* proper format, and for working with them (eg querying, adding, removing). * proper format, and for working with them (eg querying, adding, removing).
*/ */
class OKULAR_EXPORT BookmarkManager : public QObject class OKULARCORE_EXPORT BookmarkManager : public QObject
{ {
Q_OBJECT Q_OBJECT
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#ifndef _OKULAR_DOCUMENT_H_ #ifndef _OKULAR_DOCUMENT_H_
#define _OKULAR_DOCUMENT_H_ #define _OKULAR_DOCUMENT_H_
#include "okular_export.h" #include "okularcore_export.h"
#include "area.h" #include "area.h"
#include "global.h" #include "global.h"
#include "pagesize.h" #include "pagesize.h"
...@@ -67,7 +67,7 @@ class VisiblePageRect; ...@@ -67,7 +67,7 @@ class VisiblePageRect;
* The DocumentInfo structure can be filled in by generators to display * The DocumentInfo structure can be filled in by generators to display
* metadata about the currently opened file. * metadata about the currently opened file.
*/ */
class OKULAR_EXPORT DocumentInfo class OKULARCORE_EXPORT DocumentInfo
{ {
friend class Document; friend class Document;
...@@ -185,7 +185,7 @@ class OKULAR_EXPORT DocumentInfo ...@@ -185,7 +185,7 @@ class OKULAR_EXPORT DocumentInfo
* For a better understanding of hierarchies @see README.internals.png * For a better understanding of hierarchies @see README.internals.png
* @see DocumentObserver, Page * @see DocumentObserver, Page
*/ */
class OKULAR_EXPORT Document : public QObject class OKULARCORE_EXPORT Document : public QObject
{ {
Q_OBJECT Q_OBJECT
...@@ -1122,7 +1122,7 @@ class OKULAR_EXPORT Document : public QObject ...@@ -1122,7 +1122,7 @@ class OKULAR_EXPORT Document : public QObject
* data is broadcasted between observers to synchronize their viewports to get * data is broadcasted between observers to synchronize their viewports to get
* the 'I scroll one view and others scroll too' views. * the 'I scroll one view and others scroll too' views.
*/ */
class OKULAR_EXPORT DocumentViewport class OKULARCORE_EXPORT DocumentViewport
{ {
public: public:
/** /**
...@@ -1204,7 +1204,7 @@ class OKULAR_EXPORT DocumentViewport ...@@ -1204,7 +1204,7 @@ class OKULAR_EXPORT DocumentViewport
* - URL: a URL to be open as destination; if set, no other Destination* or * - URL: a URL to be open as destination; if set, no other Destination* or
* ExternalFileName entry is used * ExternalFileName entry is used
*/ */
class OKULAR_EXPORT DocumentSynopsis : public QDomDocument class OKULARCORE_EXPORT DocumentSynopsis : public QDomDocument
{ {
public: public:
/** /**
...@@ -1228,7 +1228,7 @@ class OKULAR_EXPORT DocumentSynopsis : public QDomDocument ...@@ -1228,7 +1228,7 @@ class OKULAR_EXPORT DocumentSynopsis : public QDomDocument
* about an embedded file, like its name, its description, the date of creation * about an embedded file, like its name, its description, the date of creation
* and modification, and the real data of the file. * and modification, and the real data of the file.
*/ */
class OKULAR_EXPORT EmbeddedFile class OKULARCORE_EXPORT EmbeddedFile
{ {
public: public:
/** /**
...@@ -1282,7 +1282,7 @@ class OKULAR_EXPORT EmbeddedFile ...@@ -1282,7 +1282,7 @@ class OKULAR_EXPORT EmbeddedFile
/** /**
* @short An area of a specified page * @short An area of a specified page
*/ */
class OKULAR_EXPORT VisiblePageRect class OKULARCORE_EXPORT VisiblePageRect
{ {
public: public:
/** /**
......
...@@ -139,7 +139,7 @@ class DocumentPrivate ...@@ -139,7 +139,7 @@ class DocumentPrivate
bool canModifyExternalAnnotations() const; bool canModifyExternalAnnotations() const;
bool canRemoveExternalAnnotations() const; bool canRemoveExternalAnnotations() const;
void warnLimitedAnnotSupport(); void warnLimitedAnnotSupport();
OKULAR_EXPORT static QString docDataFileName(const KUrl &url, qint64 document_size); OKULARCORE_EXPORT static QString docDataFileName(const KUrl &url, qint64 document_size);