Commit c05523da authored by Pino Toscano's avatar Pino Toscano

fix #include paths in core headers to other core headers to be relative

... and with double quotes brackets, so they can properly include each other without relying on the compiler include path
parent 09af0e40
......@@ -10,8 +10,8 @@
#ifndef _OKULAR_ACTION_H_
#define _OKULAR_ACTION_H_
#include <okular/core/global.h>
#include <okular/core/okular_export.h>
#include "global.h"
#include "okular_export.h"
#include <QtCore/QString>
......
......@@ -18,8 +18,8 @@
#include <QtXml/QDomDocument>
#include <QtXml/QDomElement>
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include "okular_export.h"
#include "area.h"
namespace Okular {
......
......@@ -15,8 +15,8 @@
#include <QtGui/QPainterPath>
#include <kdebug.h>
#include <okular/core/global.h>
#include <okular/core/okular_export.h>
#include "global.h"
#include "okular_export.h"
class QPolygonF;
class QRect;
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_AUDIOPLAYER_H_
#define _OKULAR_AUDIOPLAYER_H_
#include <okular/core/okular_export.h>
#include "okular_export.h"
#include <QtCore/QObject>
......
......@@ -11,10 +11,10 @@
#ifndef _OKULAR_DOCUMENT_H_
#define _OKULAR_DOCUMENT_H_
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include <okular/core/global.h>
#include <okular/core/pagesize.h>
#include "okular_export.h"
#include "area.h"
#include "global.h"
#include "pagesize.h"
#include <QtCore/QObject>
#include <QtCore/QStringList>
......
......@@ -17,8 +17,8 @@
#include <QtCore/QList>
#include <QtCore/QString>
#include <okular/core/okular_export.h>
#include <okular/core/generator.h>
#include "okular_export.h"
#include "generator.h"
class QPrinter;
class QSize;
......
......@@ -15,7 +15,7 @@
#include <QtCore/QSharedDataPointer>
#include <QtCore/QString>
#include <okular/core/okular_export.h>
#include "okular_export.h"
namespace Okular {
......
......@@ -10,8 +10,8 @@
#ifndef _OKULAR_FORM_H_
#define _OKULAR_FORM_H_
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include "okular_export.h"
#include "area.h"
#include <QtCore/QStringList>
......
......@@ -12,10 +12,10 @@
#ifndef _OKULAR_GENERATOR_H_
#define _OKULAR_GENERATOR_H_
#include <okular/core/okular_export.h>
#include <okular/core/fontinfo.h>
#include <okular/core/global.h>
#include <okular/core/pagesize.h>
#include "okular_export.h"
#include "fontinfo.h"
#include "global.h"
#include "pagesize.h"
#include <QtCore/QList>
#include <QtCore/QObject>
......
......@@ -10,8 +10,8 @@
#ifndef _OKULAR_MISC_H_
#define _OKULAR_MISC_H_
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include "okular_export.h"
#include "area.h"
namespace Okular {
......
......@@ -10,8 +10,8 @@
#ifndef _OKULAR_MOVIE_H_
#define _OKULAR_MOVIE_H_
#include <okular/core/global.h>
#include <okular/core/okular_export.h>
#include "global.h"
#include "okular_export.h"
#include <QtCore/QSize>
......
......@@ -13,7 +13,7 @@
#include <QtCore/QVector>
#include <okular/core/okular_export.h>
#include "okular_export.h"
namespace Okular {
......
......@@ -12,10 +12,10 @@
#include <QtCore/QLinkedList>
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include <okular/core/global.h>
#include <okular/core/textpage.h>
#include "okular_export.h"
#include "area.h"
#include "global.h"
#include "textpage.h"
class QPixmap;
......
......@@ -14,7 +14,7 @@
#include <QtCore/QSharedDataPointer>
#include <QtCore/QString>
#include <okular/core/okular_export.h>
#include "okular_export.h"
namespace Okular {
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_PAGETRANSITION_H_
#define _OKULAR_PAGETRANSITION_H_
#include <okular/core/okular_export.h>
#include "okular_export.h"
namespace Okular {
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_SOUND_H_
#define _OKULAR_SOUND_H_
#include <okular/core/okular_export.h>
#include "okular_export.h"
#include <QtCore/QByteArray>
#include <QtCore/QString>
......
......@@ -10,7 +10,7 @@
#ifndef OKULAR_SOURCEREFERENCE_H
#define OKULAR_SOURCEREFERENCE_H
#include <okular/core/okular_export.h>
#include "okular_export.h"
class QString;
......
......@@ -23,10 +23,10 @@
#include <QtGui/QTextDocumentWriter>
#endif
#include <okular/core/action.h>
#include <okular/core/annotations.h>
#include <okular/core/page.h>
#include <okular/core/textpage.h>
#include "action.h"
#include "annotations.h"
#include "page.h"
#include "textpage.h"
#include "document.h"
......
......@@ -10,10 +10,10 @@
#ifndef _OKULAR_TEXTDOCUMENTGENERATOR_H_
#define _OKULAR_TEXTDOCUMENTGENERATOR_H_
#include <okular/core/okular_export.h>
#include "okular_export.h"
#include <okular/core/document.h>
#include <okular/core/generator.h>
#include "document.h"
#include "generator.h"
class QTextBlock;
class QTextDocument;
......
......@@ -13,8 +13,8 @@
#include <QtCore/QList>
#include <QtCore/QString>
#include <okular/core/okular_export.h>
#include <okular/core/global.h>
#include "okular_export.h"
#include "global.h"
class QMatrix;
......
......@@ -10,8 +10,8 @@
#ifndef _OKULAR_UTILS_H_
#define _OKULAR_UTILS_H_
#include <okular/core/okular_export.h>
#include <okular/core/area.h>
#include "okular_export.h"
#include "area.h"
class QRect;
class QImage;
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_CONFIGINTERFACE_H_
#define _OKULAR_CONFIGINTERFACE_H_
#include <okular/core/okular_export.h>
#include "../core/okular_export.h"
#include <QtCore/QObject>
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_GUIINTERFACE_H_
#define _OKULAR_GUIINTERFACE_H_
#include <okular/core/okular_export.h>
#include "../core/okular_export.h"
#include <QtCore/QObject>
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_PRINTINTERFACE_H_
#define _OKULAR_PRINTINTERFACE_H_
#include <okular/core/okular_export.h>
#include "../core/okular_export.h"
#include <QtCore/QObject>
......
......@@ -10,7 +10,7 @@
#ifndef _OKULAR_SAVEINTERFACE_H_
#define _OKULAR_SAVEINTERFACE_H_
#include <okular/core/okular_export.h>
#include "../core/okular_export.h"
#include <QtCore/QObject>
......
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