mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
568 B
C++
31 lines
568 B
C++
12 years ago
|
#ifndef CSV_DOC_OPERATION_H
|
||
|
#define CSV_DOC_OPERATION_H
|
||
|
|
||
|
#include <QProgressBar>
|
||
|
|
||
|
namespace CSVDoc
|
||
|
{
|
||
|
class Operation : public QProgressBar
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
int mType;
|
||
|
bool mStalling;
|
||
|
|
||
|
// not implemented
|
||
|
Operation (const Operation&);
|
||
|
Operation& operator= (const Operation&);
|
||
|
|
||
|
void updateLabel (int threads = -1);
|
||
|
|
||
|
public:
|
||
|
|
||
|
Operation (int type);
|
||
|
|
||
|
void setProgress (int current, int max, int threads);
|
||
|
|
||
|
int getType() const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|