Quote Originally Posted by 0backbone0 View Post
The documentation sais:
Qt Code:
  1. void QAbstractItemView::startDrag(Qt::DropActions supportedActions) [virtual protected]
  2. Starts a drag by calling drag->exec() using the given supportedActions.
To copy to clipboard, switch view to plain text mode 
Exactly!

Quote Originally Posted by 0backbone0 View Post
If I use Qt:ropActions as an Argument I get the Error:

variable or field 'startDrag' declared void
void customtreeview::startDrag(Qt::IgnoreAction)
That looks wrong, almost like you had written exactly that instead of the actual method signature.

Cheers,
_