oopapidocs  2.0
abstractmetadataloader.h
00001 #ifndef AMETADATALOADER_H
00002 #define AMETADATALOADER_H
00003 
00004 #include "metadatavalue.h"
00005 
00006 //start
00007 namespace Abstract {
00013 class METADATAEXPORT MetaDataLoader : public QObject {
00014     Q_OBJECT
00015 public:
00016     
00017     explicit MetaDataLoader(QObject *parent = 0) 
00018         : QObject(parent) {}
00019     
00022     static MetaDataLoader* instance();
00024     virtual MetaDataLoader* clone(QObject* parent=0) = 0;
00025     virtual ~MetaDataLoader();
00026     virtual const QStringList& supportedExtensions() = 0;
00030     virtual void get(QString path) = 0;
00031     virtual void get(QStringList path) = 0;
00032     virtual bool isRunning() const = 0;
00033 public slots:
00034     virtual void cancel() = 0;
00035     
00036 signals:
00038     void fetched(const MetaDataValue& mdv);
00039     void progressValueChanged(int);
00040     void progressRangeChanged(int, int);
00041     void finished();
00042 
00043 };
00044 }
00045 
00046 #endif // AMETADATALOADER_H
 All Classes Namespaces Functions Enumerations