Here is my iadfuqgraphicsview.h. I encounter errors such as

iadfuqgraphicsview.h:13: error: expected unqualified-id at end of input
iadfuqgraphicsview.h:13: error: expected `,' or `;' at end of input

How can I solve this?

Qt Code:
  1. #ifndef IADFUQGraphicsView_H
  2. #define IADFUQGraphicsView_H
  3.  
  4. #include <QtGui>
  5. #include <QObject>
  6.  
  7. class IADFUQGraphicsView : public QGraphicsView
  8. {
  9. Q_OBJECT
  10.  
  11. public:
  12. IADFUQGraphicsView(QGraphicsScene* s);
  13. ~IADFUQGraphicsView(){} ;
  14.  
  15. protected:
  16. void contextMenuEvent(QContextMenuEvent *event);
  17. void mousePressEvent( QMouseEvent* e );
  18.  
  19. private:
  20. QPointF* m_clickedPt;
  21. QGraphicsPixmapItem* m_pixmapItem;
  22. QGraphicsScene* m_scene;
  23.  
  24. QAction *cutAct;
  25. QAction *copyAct;
  26. QAction *pasteAct;
  27.  
  28. }
  29.  
  30. #endif
To copy to clipboard, switch view to plain text mode 

Also, How can I create an iadfuqgraphicsview.cpp that properly overrides the contextMenuEvent and mousePressEvent methods of QGraphicsView? Can anybody create a code for that?