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

Method slotClean

kdevplatform/shell/progresswidget/statusbarprogresswidget.cpp:306–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void StatusbarProgressWidget::slotClean()
307{
308 // check if a new item showed up since we started the timer. If not, clear
309 if ( ProgressManager::instance()->isEmpty() ) {
310 m_pProgressBar->setValue( 0 );
311 //m_pPlaceHolder.label->clear();
312 mode = None;
313 setMode();
314 }
315}
316
317bool StatusbarProgressWidget::eventFilter(QObject* object, QEvent* ev)
318{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected