some more win32'fication to fix non-ascii filename handling
[kdelibs.git] / kimgio / tga.h
blobdfb0e83c90f7af8d4097297753d5d45d221c8efa
1 /* This file is part of the KDE project
2 Copyright (C) 2003 Dominik Seichter <domseichter@web.de>
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 */
10 #ifndef KIMG_TGA_H
11 #define KIMG_TGA_H
13 #include <QtGui/QImageIOPlugin>
15 class TGAHandler : public QImageIOHandler
17 public:
18 TGAHandler();
20 bool canRead() const;
21 bool read(QImage *image);
22 bool write(const QImage &image);
24 QByteArray name() const;
26 static bool canRead(QIODevice *device);
29 #endif