C++ (Qt)if (current / total != progressValue){ emit ...}
C++ (Qt)class Progress{public: Progress (quint64 total); void setValue (quint64 value); signals: void progress (int);};