Obsolete Members for Q3ProgressBar

The following members of class Q3ProgressBar are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) Q3ProgressBar(int totalSteps, QWidget * parent, const char * name, Qt::WindowFlags f = 0)
(obsolete) Q3ProgressBar(QWidget * parent, const char * name, Qt::WindowFlags f = 0)

Member Function Documentation

Q3ProgressBar::Q3ProgressBar(int totalSteps, QWidget * parent, const char * name, Qt::WindowFlags f = 0)

Constructs a progress bar.

The totalSteps is the total number of steps that need to be completed for the operation which this progress bar represents. For example, if the operation is to examine 50 files, this value would be 50. Before examining the first file, call setProgress(0); call setProgress(50) after examining the last file.

The parent, name and widget flags, f, are passed to the QFrame::QFrame() constructor.

See also setTotalSteps() and setProgress().

Q3ProgressBar::Q3ProgressBar(QWidget * parent, const char * name, Qt::WindowFlags f = 0)

Constructs a progress bar.

The total number of steps is set to 100 by default.

The parent, name and widget flags, f, are passed on to the QFrame::QFrame() constructor.

See also setTotalSteps().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.