Home · Overviews · Reference · Classes |
The GuiBase class manages the progress bar. More...
#include <GuiBase>
The GuiBase class manages the progress bar.
There is a GUI-based progress bar (-gui) and a console-based progress bar (-progress). They are both implemented as sub-classes of GuiBase.
Returns the singleton instance.
The GuiBase class has a longer life span than the RuleEngine. Set e to the rule engine when it is created and set it to 0 when it is deleted.
Set the total and completed values. Set certain to true if it is certain how many more rules there are to run.
This should be called when writing to stdout or stderr. It minimizes conflicts between the console-based progress bar and the regular output. Write to fd, from buffer, length characters.
ie.
::write(1, buf, len);
becomes
GuiBase::instance()->write(1, buf, len);
Copyright © 2009 Trolltech | Qt Extended - QBuild Maintainer Guide |