StelProgressController.hpp   StelProgressController.hpp 
skipping to change at line 32 skipping to change at line 32
#include <QString> #include <QString>
#include <QObject> #include <QObject>
//! Maintain the state of a progress bar //! Maintain the state of a progress bar
class StelProgressController : public QObject class StelProgressController : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
StelProgressController(QObject* parent = NULL) : QObject(parent), fo rmat("%p%"), min(0), max(100), value(0) {;} StelProgressController(QObject* parent = Q_NULLPTR) : QObject(parent ), format("%p%"), min(0), max(100), value(0) {;}
//! This property holds the string used to generate the current text . //! This property holds the string used to generate the current text .
//! %p - is replaced by the percentage completed. //! %p - is replaced by the percentage completed.
//! %v - is replaced by the current value. //! %v - is replaced by the current value.
//! %m - is replaced by the total number of steps. //! %m - is replaced by the total number of steps.
//! The default value is "%p%". //! The default value is "%p%".
void setFormat(const QString& fmt) {format = fmt;} void setFormat(const QString& fmt) {format = fmt;}
void setRange(int amin, int amax) {min = amin; max = amax;} void setRange(int amin, int amax) {min = amin; max = amax;}
void setValue(int val) {value=val; emit changed();} void setValue(int val) {value=val; emit changed();}
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/