Quote Originally Posted by Kapil
In imageZoomer i have created a Q3CanvasView and have passed in the constructor of the CanvasMouse which reads this
CanvasMouse(Q3CanvasView *canview): canvasview(canview)
You sholdn't give Q3CanvasView parametr. You need give only pointer on parent class.

Qt Code:
  1. CanvasMouse *canmous = new CanvasMouse(this);
  2.  
  3. *****
  4. CanvasMouse(ImageZoomer*p): canvasview(p)
  5. {
  6. }
To copy to clipboard, switch view to plain text mode 


p.s. also you could give any parametres (if you dont need it in future )