26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_ABSTRACTQTPROGRESSVIEWER_H    27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_ABSTRACTQTPROGRESSVIEWER_H    30 #include "../../../common/progress/AbstractProgressViewer.h"    31 #include "../Config.h"    77           virtual void removeTask(
int taskId) = 0;
    84           virtual void cancelTask(
int taskId) = 0;
    91           virtual void setTotalValues(
int taskId) = 0;
    98           virtual void updateValue(
int taskId) = 0;
   105           virtual void updateMessage(
int taskId) = 0;
   109           virtual void onSetProgressMessage(
const std::string& message) = 0;
   111           virtual void onSetProgressRange(
int min, 
int max) = 0;
   113           virtual void onSetProgressValue(
int value) = 0;
   115           virtual void onResetProgress() = 0;
   119           void setProgressMessage(
const std::string& message);
   121           void setProgressRange(
int min, 
int max);
   123           void setProgressValue(
int value);
   125           void resetProgress();
   132 #endif //__TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_ABSTRACTQTPROGRESSVIEWER_H 
This class can be used to inform the progress of a task. 
 
A class that defines the interface of an abstract progress viewer.