* @brief QPushButtonWithClipboard::buttonClicked handles clicked event by * emitting clicked(QString) with string provided to constructor */
| 47 | * emitting clicked(QString) with string provided to constructor |
| 48 | */ |
| 49 | void QPushButtonWithClipboard::buttonClicked(bool /*unused*/) { |
| 50 | setIcon(iconEditPushed); |
| 51 | QTimer::singleShot(500, this, &QPushButtonWithClipboard::changeIconDefault); |
| 52 | emit clicked(textToCopy); |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * @brief QPushButtonWithClipboard::changeIconDefault change the icon back to |
nothing calls this directly
no outgoing calls
no test coverage detected