Fix minor EBN issues

This commit is contained in:
Yuri Chornoivan 2018-10-22 19:58:24 +03:00
parent 4c0c6c8d60
commit 8ac949d459
14 changed files with 40 additions and 36 deletions

View File

@ -4,8 +4,8 @@
* *
* This library is distributed under the conditions of the GNU LGPL. * This library is distributed under the conditions of the GNU LGPL.
*/ */
#ifndef KIMG_EPS_H #ifndef KIMG_EPS_P_H
#define KIMG_EPS_H #define KIMG_EPS_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
#include <QLoggingCategory> #include <QLoggingCategory>
@ -34,5 +34,5 @@ public:
Q_DECLARE_LOGGING_CATEGORY(EPSPLUGIN) Q_DECLARE_LOGGING_CATEGORY(EPSPLUGIN)
#endif // KIMG_EPS_H #endif // KIMG_EPS_P_H

View File

@ -8,8 +8,8 @@
* *
*/ */
#ifndef KIMG_EXR_H #ifndef KIMG_EXR_P_H
#define KIMG_EXR_H #define KIMG_EXR_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -34,4 +34,4 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_EXR_H #endif // KIMG_EXR_P_H

View File

@ -7,8 +7,8 @@
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
*/ */
#ifndef KIMG_HDR_H #ifndef KIMG_HDR_P_H
#define KIMG_HDR_H #define KIMG_HDR_P_H
class QImageIO; class QImageIO;

View File

@ -7,8 +7,8 @@
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
*/ */
#ifndef KIMG_PCX_H #ifndef KIMG_PCX_P_H
#define KIMG_PCX_H #define KIMG_PCX_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -34,4 +34,4 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_PCX_H #endif // KIMG_PCX_P_H

View File

@ -17,7 +17,7 @@
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
*/ */

View File

@ -14,12 +14,12 @@
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
*/ */
#ifndef KIMG_PIC_H #ifndef KIMG_PIC_P_H
#define KIMG_PIC_H #define KIMG_PIC_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
#include <QDataStream> #include <QDataStream>
@ -199,4 +199,4 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_PIC_H #endif // KIMG_PIC_P_H

View File

@ -16,7 +16,7 @@
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
/* /*

View File

@ -7,8 +7,8 @@
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
*/ */
#ifndef KIMG_PSD_H #ifndef KIMG_PSD_P_H
#define KIMG_PSD_H #define KIMG_PSD_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -33,5 +33,5 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_PSD_H #endif // KIMG_PSD_P_H

View File

@ -8,8 +8,8 @@
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
*/ */
#ifndef KIMG_RAS_H #ifndef KIMG_RAS_P_H
#define KIMG_RAS_H #define KIMG_RAS_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -34,5 +34,5 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_RAS_H #endif // KIMG_RAS_P_H

View File

@ -7,8 +7,8 @@
// published by the Free Software Foundation; either version 2 of the // published by the Free Software Foundation; either version 2 of the
// License, or (at your option) any later version. // License, or (at your option) any later version.
#ifndef KIMG_RGB_H #ifndef KIMG_RGB_P_H
#define KIMG_RGB_H #define KIMG_RGB_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -34,5 +34,5 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_RGB_H #endif // KIMG_RGB_P_H

View File

@ -14,12 +14,12 @@
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
*/ */
#ifndef KIMAGEFORMATS_RLE_H #ifndef KIMAGEFORMATS_RLE_P_H
#define KIMAGEFORMATS_RLE_H #define KIMAGEFORMATS_RLE_P_H
#include <QDebug> #include <QDebug>
#include <QDataStream> #include <QDataStream>
@ -220,4 +220,4 @@ static inline void encodeRLEData(RLEVariant variant,
} }
} }
#endif // KIMAGEFORMATS_RLE_H #endif // KIMAGEFORMATS_RLE_P_H

View File

@ -7,8 +7,8 @@
version 2 of the License, or (at your option) any later version. version 2 of the License, or (at your option) any later version.
*/ */
#ifndef KIMG_TGA_H #ifndef KIMG_TGA_P_H
#define KIMG_TGA_H #define KIMG_TGA_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -34,4 +34,4 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_TGA_H #endif // KIMG_TGA_P_H

View File

@ -19,8 +19,8 @@
* *
*/ */
#ifndef KIMG_XCF_H #ifndef KIMG_XCF_P_H
#define KIMG_XCF_H #define KIMG_XCF_P_H
#include <QImageIOPlugin> #include <QImageIOPlugin>
@ -46,4 +46,4 @@ public:
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
}; };
#endif // KIMG_XCF_H #endif // KIMG_XCF_P_H

View File

@ -19,6 +19,9 @@
* <http://www.gnu.org/licenses/>. * <http://www.gnu.org/licenses/>.
*/ */
#ifndef FORMAT_ENUM_H
#define FORMAT_ENUM_H
#include <QImage> #include <QImage>
// Generated from QImage::Format enum // Generated from QImage::Format enum
@ -71,3 +74,4 @@ QString formatToString(QImage::Format format)
QLatin1String(">"); QLatin1String(">");
} }
#endif