void ConsoleWidget::startBeep() { QPalette p = palette(); p.setColor(QPalette::Base, QColor(255, 200, 200)); setPalette(p); QTimer::singleShot(155, this, SLOT(endBeep())); }
static void beeperDestruct (NoteDevice *device) { endBeep(); free(device); logMessage(LOG_DEBUG, "beeper disabled"); }