eps: fix includes related to Qt Caterogized Logging

Testing Done:
Build on OS X 10.8

Reviewed at https://git.reviewboard.kde.org/r/125025/
This commit is contained in:
Samuel Gaist 2015-09-03 18:15:54 +02:00
parent e5fce91de6
commit 4a54da668a
2 changed files with 3 additions and 2 deletions

View File

@ -8,10 +8,8 @@
*/ */
#include "eps_p.h" #include "eps_p.h"
#include <QDebug>
#include <QImage> #include <QImage>
#include <QImageReader> #include <QImageReader>
#include <QLoggingCategory>
#include <QPainter> #include <QPainter>
#include <QPrinter> #include <QPrinter>
#include <QProcess> #include <QProcess>

View File

@ -8,6 +8,7 @@
#define KIMG_EPS_H #define KIMG_EPS_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
#include <QLoggingCategory>
class EPSHandler : public QImageIOHandler class EPSHandler : public QImageIOHandler
{ {
@ -31,5 +32,7 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const Q_DECL_OVERRIDE; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const Q_DECL_OVERRIDE;
}; };
Q_DECLARE_LOGGING_CATEGORY(EPSPLUGIN)
#endif // KIMG_EPS_H #endif // KIMG_EPS_H