FougTools  0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qttask::Progress Class Reference

Provides feedback on the progress of an executing operation. More...

#include <progress.h>

Public Member Functions

 ~Progress ()
 
int value () const
 
void setValue (int pct)
 
const QString & step () const
 
void setStep (const QString &title)
 
void outputMessage (const QString &msg)
 
QVariant data (int key) const
 Returns this progress' custom data for the key key as a QVariant. More...
 
void setData (int key, const QVariant &value)
 Set this progress' custom data for the key key to value. More...
 
bool isAbortRequested () const
 

Detailed Description

Provides feedback on the progress of an executing operation.

Constructor & Destructor Documentation

qttask::Progress::~Progress ( )

Member Function Documentation

QVariant qttask::Progress::data ( int  key) const

Returns this progress' custom data for the key key as a QVariant.

Custom progress data is useful for storing arbitrary properties in any progress.
TaskManager does not use this feature for storing data; it is provided solely for the convenience of the user.

bool qttask::Progress::isAbortRequested ( ) const
void qttask::Progress::outputMessage ( const QString &  msg)
void qttask::Progress::setData ( int  key,
const QVariant &  value 
)

Set this progress' custom data for the key key to value.

Custom progress data is useful for storing arbitrary properties for any item. TaskManager does not use this feature for storing data; it is provided solely for the convenience of the user.

void qttask::Progress::setStep ( const QString &  title)
void qttask::Progress::setValue ( int  pct)
const QString & qttask::Progress::step ( ) const
int qttask::Progress::value ( ) const

The documentation for this class was generated from the following files: