Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProgressEvent Class Reference

Progress change custom event. More...

Inheritance diagram for ProgressEvent:
Inheritance graph

Public Member Functions

 ProgressEvent (const QString &msg, const int progress)
 Constructor. More...
 
QString message () const
 Get progress message. More...
 
int progress () const
 Get current progress. More...
 

Static Public Member Functions

static int id ()
 Get message identifier. More...
 

Private Attributes

QString myMessage
 
int myProgress
 

Detailed Description

Constructor & Destructor Documentation

ProgressEvent::ProgressEvent ( const QString &  msg,
const int  progress 
)
inline
Parameters
msgprogress message
progresscurrent progress (for example, in %)

Member Function Documentation

static int ProgressEvent::id ( )
inlinestatic
Returns
custom message ID
QString ProgressEvent::message ( ) const
inline
Returns
message

References myMessage.

int ProgressEvent::progress ( ) const
inline
Returns
current progress

References myProgress.

Member Data Documentation

QString ProgressEvent::myMessage
private
int ProgressEvent::myProgress
private

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