OSTC Companion  3.0
Companion sofftware for H&W dive computers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
ProgressManager Class Reference

#include <ProgressEvent.h>

Public Member Functions

 ProgressManager ()
 
void setMainWindow (QObject *main)
 Define who manage ProgressEvent events. More...
 
void post (int current=101, int range=100)
 Send (async) progress updates to the main progress bar. Use ProgressEvent class to post updates and resets to the progress bar, displayed by the main thread. When current > range, this is a reset... More...
 

Static Public Member Functions

static ProgressManagergetInstance ()
 

Constructor & Destructor Documentation

ProgressManager::ProgressManager ( )

Member Function Documentation

ProgressManager * ProgressManager::getInstance ( )
static
void ProgressManager::post ( int  current = 101,
int  range = 100 
)

Send (async) progress updates to the main progress bar. Use ProgressEvent class to post updates and resets to the progress bar, displayed by the main thread. When current > range, this is a reset...

void ProgressManager::setMainWindow ( QObject *  main)

Define who manage ProgressEvent events.


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