I am using Qt 4.8.X on Linux with X11 and/or Qt-QWS with custom buttons derived from QAbstractButton. Now I have to distinguish between a button press, release and the user holding down the button. To do so, I would like to use QAbstractButton::autoRepeat as described in this question. As the QT Documentation states If autoRepeat is enabled, then the pressed(),