void gui::newState(const QString &channel, const int &state) { if (state == 5) { fbutton *a = mainbuttonmap.value(channel); if (a) a->startblink(); }}