1/* This file is part of the KDE project
2 Copyright (C) 2003 Dominik Seichter <domseichter@web.de>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the Lesser GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8*/
9
10#ifndef KIMG_TGA_H
11#define KIMG_TGA_H
12
13#include <QtGui/QImageIOPlugin>
14
15class TGAHandler : public QImageIOHandler
16{
17public:
18 TGAHandler();
19
20 bool canRead() const;
21 bool read(QImage *image);
22 bool write(const QImage &image);
23
24 QByteArray name() const;
25
26 static bool canRead(QIODevice *device);
27};
28
29#endif
30
31