Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQDownloadProgress Class Reference

#include <YQDownloadProgress.h>

Inheritance diagram for YQDownloadProgress:

YDownloadProgress YWidget List of all members.

Public Slots

void pollFileSize (void)

Public Member Functions

 YQDownloadProgress (QWidget *parent, const YWidgetOpt &opt, const YCPString &label, const YCPString &filename, int expectedSize)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)
void setLabel (const YCPString &label)
void setExpectedSize (int expectedSize)

Protected Attributes

QLabel * _qt_label
QProgressBar * _qt_progress
QTimer * _timer

Constructor & Destructor Documentation

YQDownloadProgress::YQDownloadProgress QWidget *  parent,
const YWidgetOpt opt,
const YCPString label,
const YCPString filename,
int  expectedSize
 

Constructor.


Member Function Documentation

long YQDownloadProgress::nicesize YUIDimension  dim  )  [virtual]
 

Preferred size. Inherited from YWidget.

Implements YWidget.

void YQDownloadProgress::pollFileSize void   )  [slot]
 

Slot for polling and displaying the file size.

void YQDownloadProgress::setEnabling bool  enabled  )  [virtual]
 

Sets the widget's enabled state. Inherited from YWidget.

Reimplemented from YWidget.

void YQDownloadProgress::setExpectedSize int  expectedSize  )  [virtual]
 

Change the expected file size. Calls YDownloadProgress::setExpectedSize() at the end. Inherited from YDownloadProgress.

Reimplemented from YDownloadProgress.

void YQDownloadProgress::setLabel const YCPString label  )  [virtual]
 

Change the label. Calls YDownloadProgress::setLabel at the end. Inherited from YDownloadProgress.

Reimplemented from YDownloadProgress.

void YQDownloadProgress::setSize long  newWidth,
long  newHeight
[virtual]
 

Set the new size of the widget. Inherited from YWidget.

Reimplemented from YWidget.


Member Data Documentation

QLabel* YQDownloadProgress::_qt_label [protected]
 

QProgressBar* YQDownloadProgress::_qt_progress [protected]
 

QTimer* YQDownloadProgress::_timer [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 06:11:16 2008 for yast2-qt by  doxygen 1.3.9.1