#ifndef CSV_DOC_LOADER_H #define CSV_DOC_LOADER_H #include #include #include namespace CSMDoc { class Document; } namespace CSVDoc { class LoadingDocument : public QWidget { Q_OBJECT public: LoadingDocument (CSMDoc::Document *document); }; class Loader : public QObject { Q_OBJECT std::map mDocuments; public: Loader(); virtual ~Loader(); public slots: void add (CSMDoc::Document *document); void loadingStopped (CSMDoc::Document *document, bool completed, const std::string& error); }; } #endif