Quote Originally Posted by seneca
Qt Code:
  1. connect(
  2. iTree, SIGNAL(customContextMenuRequested(const QPoint& aPosition)),
  3. this, SLOT(treeContextMenu(const QPoint& aPosition))
  4. );
To copy to clipboard, switch view to plain text mode 
You can't put parameter names in SLOT and SIGNAL macros.

This should be:
Qt Code:
  1. connect( iTree, SIGNAL( customContextMenuRequested( const QPoint& ) ),
  2. this, SLOT( treeContextMenu( const QPoint& ) ) );
To copy to clipboard, switch view to plain text mode