Mercurial > hg > svgui
comparison widgets/LEDButton.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | 4806715f7a19 |
children | 04337eb34f23 |
comparison
equal
deleted
inserted
replaced
681:eaf4446a1bef | 682:1a0dfcbffaf1 |
---|---|
92 } | 92 } |
93 | 93 |
94 void | 94 void |
95 LEDButton::mousePressEvent(QMouseEvent *e) | 95 LEDButton::mousePressEvent(QMouseEvent *e) |
96 { | 96 { |
97 std::cerr << "LEDButton(" << this << ")::mousePressEvent" << std::endl; | 97 cerr << "LEDButton(" << this << ")::mousePressEvent" << endl; |
98 | 98 |
99 if (e->buttons() & Qt::LeftButton) { | 99 if (e->buttons() & Qt::LeftButton) { |
100 toggle(); | 100 toggle(); |
101 bool newState = state(); | 101 bool newState = state(); |
102 SVDEBUG << "emitting new state " << newState << endl; | 102 SVDEBUG << "emitting new state " << newState << endl; |