Fix regressions
[kphotoalbum.git] / ImportExport / KimFileReader.h
blob70fa6cbdab9ea743a4a095d6fe052dd646df5fea
1 #ifndef KIMFILEREADER_H
2 #define KIMFILEREADER_H
3 #include <QPixmap>
4 #include <QString>
5 class KArchiveDirectory;
6 class KZip;
8 namespace ImportExport {
10 class KimFileReader
12 public:
13 KimFileReader();
14 ~KimFileReader();
15 bool open(const QString& fileName);
16 QByteArray indexXML();
17 QPixmap loadThumbnail( QString fileName );
18 QByteArray loadImage( const QString& fileName );
21 private:
22 QString m_fileName;
23 KZip* _zip;
24 const KArchiveDirectory* _dir;
29 #endif /* KIMFILEREADER_H */