You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
791 B
35 lines
791 B
14 years ago
|
/*
|
||
|
* UBImportDocument.h
|
||
|
*
|
||
|
* Created on: Feb 11, 2009
|
||
|
* Author: julienbachmann
|
||
|
*/
|
||
|
|
||
|
#ifndef UBIMPORTDOCUMENT_H_
|
||
|
#define UBIMPORTDOCUMENT_H_
|
||
|
|
||
|
#include <QtGui>
|
||
|
#include "UBImportAdaptor.h"
|
||
|
class UBDocumentProxy;
|
||
|
|
||
|
class UBImportDocument : public UBImportAdaptor
|
||
|
{
|
||
|
Q_OBJECT;
|
||
|
|
||
|
public:
|
||
|
UBImportDocument(QObject *parent = 0);
|
||
|
virtual ~UBImportDocument();
|
||
|
|
||
|
|
||
|
virtual QStringList supportedExtentions();
|
||
|
virtual QString importFileFilter();
|
||
|
|
||
|
virtual UBDocumentProxy* importFile(const QFile& pFile, const QString& pGroup);
|
||
|
virtual bool addFileToDocument(UBDocumentProxy* pDocument, const QFile& pFile);
|
||
|
|
||
|
private:
|
||
|
virtual QString expandFileToDir(const QFile& pZipFile, const QString& pDir);
|
||
|
};
|
||
|
|
||
|
#endif /* UBIMPORTDOCUMENT_H_ */
|