hi, i am trying to subclass QMouseEvent into myclass.

I got some error while compiling the program over here,

Link::Link(QWidget *parent) :
QMainWindow(parent), // if i add QMouseEvent here it is showing some error
ui(new Ui::Link)

it is saying that no matching function for call QMouseEvent::QMouseEvent().


Some help would be welcomed