interfaces
KDevelop::IStatus Class Reference
#include <istatus.h>
Detailed Description
An interface for plugins, languages etc.to provide status updates. Plugins only have to implement this extension interface, registration happens automagically. Regular QObjects can register themselves through IUiController like so:
Foo* f; // some QObject that implements IStatus ICore::self()->uiController()->registerStatus(f);
Definition at line 38 of file istatus.h.
Signals | |
| void | clearMessage () |
| void | hideProgress () |
| void | showError (const QString &message, int timeout=0) |
| void | showMessage (const QString &message, int timeout=0) |
| void | showProgress (int minimum, int maximum, int value) |
Public Member Functions | |
| virtual QString | statusName () const =0 |
Member Function Documentation
| void KDevelop::IStatus::clearMessage | ( | ) | [signal] |
Request the current message for this plugin to be cleared.
| void KDevelop::IStatus::hideProgress | ( | ) | [signal] |
Hide the progress bar.
| void KDevelop::IStatus::showError | ( | const QString & | message, | |
| int | timeout = 0 | |||
| ) | [signal] |
Request an error message to be shown for this plugin, with a given timeout.
- Parameters:
-
message Message to display timeout Timeout in miliseconds, or pass 0 for no timeout.
| void KDevelop::IStatus::showMessage | ( | const QString & | message, | |
| int | timeout = 0 | |||
| ) | [signal] |
Request a status message to be shown for this plugin, with a given timeout.
- Parameters:
-
message Message to display timeout Timeout in miliseconds, or pass 0 for no timeout.
| void KDevelop::IStatus::showProgress | ( | int | minimum, | |
| int | maximum, | |||
| int | value | |||
| ) | [signal] |
Show a progress bar, with the given percentage.
| virtual QString KDevelop::IStatus::statusName | ( | ) | const [pure virtual] |
Return a name for the status object.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference