you cannot inherit from two QObject clases...
EDIT
your widget class only has one virtual fucntion... so you can just skip the QWidget inheritance and the code will work.... but one more thing... inherit QPushButton first and then Widget otherwise u will get other errors..
EDIT2
do not delete the button in main()... your window will not show up..
Bookmarks