ProgressStatusEvent Class Reference

#include <Events.h>

Public Member Functions

 ProgressStatusEvent (QLabel *, QString, QProgressBar *, int, QProgressBar *, int)
void updateProgress (void)
 Updates copy progress.

Private Attributes

QLabel * lbl_current_file
QString current_file
QProgressBar * pb_current_file
int current_file_progress
QProgressBar * pb_overall
int overall_progress

Detailed Description

Definition at line 103 of file Events.h.


Constructor & Destructor Documentation

ProgressStatusEvent::ProgressStatusEvent ( QLabel *  lbl_current_file,
QString  current_file,
QProgressBar *  pb_current_file,
int  current_file_progress,
QProgressBar *  pb_overall,
int  overall_progress 
)

Definition at line 104 of file Events.cpp.

00110                     : QCustomEvent( PROGRESS_STATUS_EVENT )
00111 {
00112     this->lbl_current_file      = lbl_current_file;
00113     this->current_file          = current_file;
00114     this->pb_current_file       = pb_current_file;
00115     this->current_file_progress = current_file_progress;
00116     this->pb_overall            = pb_overall;
00117     this->overall_progress      = overall_progress;
00118 }


Member Function Documentation

void ProgressStatusEvent::updateProgress ( void   ) 

Updates copy progress.

Definition at line 123 of file Events.cpp.

00124 {
00125     lbl_current_file->setText( current_file );
00126     pb_current_file->setProgress( current_file_progress );
00127     pb_overall->setProgress( overall_progress );
00128 }


Field Documentation

Definition at line 117 of file Events.h.

Definition at line 120 of file Events.h.

Definition at line 116 of file Events.h.

Definition at line 123 of file Events.h.

QProgressBar* ProgressStatusEvent::pb_current_file [private]

Definition at line 119 of file Events.h.

QProgressBar* ProgressStatusEvent::pb_overall [private]

Definition at line 122 of file Events.h.


The documentation for this class was generated from the following files:
Generated on Wed Jul 4 16:03:35 2012 for RIO by  doxygen 1.6.3