KImgIO
ras.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2003 Dominik Seichter <domseichter@web.de> 00003 Copyright (C) 2010 Troy Unrau <troy@kde.org> 00004 00005 This program is free software; you can redistribute it and/or 00006 modify it under the terms of the Lesser GNU General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 */ 00010 00011 #ifndef KIMG_RAS_H 00012 #define KIMG_RAS_H 00013 00014 #include <QtGui/QImageIOPlugin> 00015 00016 class RASHandler : public QImageIOHandler 00017 { 00018 public: 00019 RASHandler(); 00020 00021 bool canRead() const; 00022 bool read(QImage *image); 00023 // bool write(const QImage &image); 00024 00025 QByteArray name() const; 00026 00027 static bool canRead(QIODevice *device); 00028 }; 00029 00030 #endif 00031
KDE 4.6 API Reference