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