MCPcopy Create free account
hub / github.com/KDE/kdevelop / showErrorMessage

Method showErrorMessage

kdevplatform/shell/statusbar.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void StatusBar::showErrorMessage(const QString& message, int timeout)
123{
124 QWidget* error = errorMessage(this, message);
125 QTimer* timer = errorTimeout(error, timeout);
126 insertPermanentWidget(0, error);
127 timer->start(); // triggers removeError()
128}
129
130void StatusBar::subtractFromEachMessageTimeout(int subtrahend, const IStatus* exceptThisMessage)
131{

Callers

nothing calls this directly

Calls 2

errorMessageFunction · 0.70
startMethod · 0.45

Tested by

no test coverage detected