OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
operations.hpp
Go to the documentation of this file.
1 #ifndef CSV_DOC_OPERATIONS_H
2 #define CSV_DOC_OPERATIONS_H
3 
4 #include <vector>
5 
6 #include <QDockWidget>
7 
8 class QVBoxLayout;
9 
10 namespace CSVDoc
11 {
12  class Operation;
13 
14  class Operations : public QDockWidget
15  {
16  Q_OBJECT
17 
18  QVBoxLayout *mLayout;
19  std::vector<Operation *> mOperations;
20 
21  // not implemented
22  Operations (const Operations&);
24 
25  public:
26 
27  Operations();
28 
29  void setProgress (int current, int max, int type, int threads);
31 
32  void quitOperation (int type);
34 
35  signals:
36 
37  void abortOperation (int type);
38  };
39 }
40 
41 #endif
static const struct @2 signals[]
std::vector< Operation * > mOperations
Definition: operations.hpp:19
void abortOperation(int type)
Definition: operations.hpp:14
Operations()
Definition: operations.cpp:8
void quitOperation(int type)
Calling this function for an operation that is not running is a no-op.
Definition: operations.cpp:49
void setProgress(int current, int max, int type, int threads)
Implicitly starts the operation, if it is not running already.
Definition: operations.cpp:24
QVBoxLayout * mLayout
Definition: operations.hpp:18
Operations & operator=(const Operations &)