Back to index

salome-gui  6.5.0
Public Member Functions | Static Public Member Functions | Private Attributes
ProgressEvent Class Reference

Progress change custom event. More...

List of all members.

Public Member Functions

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

Static Public Member Functions

static int id ()
 Get message identifier.

Private Attributes

QString myMessage
int myProgress

Detailed Description

Progress change custom event.

Definition at line 41 of file QtxSplash.cxx.

Constructor & Destructor Documentation

ProgressEvent::ProgressEvent ( const QString &  msg,
const int  progress 
) [inline]


msgprogress message
progresscurrent progress (for example, in %)

Definition at line 49 of file QtxSplash.cxx.

    : QEvent( (QEvent::Type)id() ),
      myMessage( msg ),
      myProgress( progress )

Member Function Documentation

static int ProgressEvent::id ( ) [inline, static]

Get message identifier.

custom message ID

Definition at line 68 of file QtxSplash.cxx.

{ return QEvent::User + 10; }
QString ProgressEvent::message ( ) const [inline]

Get progress message.


Definition at line 58 of file QtxSplash.cxx.

{ return myMessage; } 
int ProgressEvent::progress ( ) const [inline]

Get current progress.

current progress

Definition at line 63 of file QtxSplash.cxx.

{ return myProgress; }

Member Data Documentation

QString ProgressEvent::myMessage [private]

Definition at line 71 of file QtxSplash.cxx.

Definition at line 72 of file QtxSplash.cxx.

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