OpenMW
apps/opencs/view/doc/operations.hpp
Go to the documentation of this file.
00001 #ifndef CSV_DOC_OPERATIONS_H
00002 #define CSV_DOC_OPERATIONS_H
00003 
00004 #include <vector>
00005 
00006 #include <QDockWidget>
00007 
00008 class QVBoxLayout;
00009 
00010 namespace CSVDoc
00011 {
00012     class Operation;
00013 
00014     class Operations : public QDockWidget
00015     {
00016             Q_OBJECT
00017 
00018             QVBoxLayout *mLayout;
00019             std::vector<Operation *> mOperations;
00020 
00021             // not implemented
00022             Operations (const Operations&);
00023             Operations& operator= (const Operations&);
00024 
00025         public:
00026 
00027             Operations();
00028 
00029             void setProgress (int current, int max, int type, int threads);
00031 
00032             void quitOperation (int type);
00034 
00035         signals:
00036 
00037             void abortOperation (int type);
00038     };
00039 }
00040 
00041 #endif