Hi

I have something like:
Qt Code:
  1. connect( list, SIGNAL( itemDoubleClicked( QListWidgetItem* ) ), this, SLOT( slotFromListWidget( QListWidgetItem* ) ) );
To copy to clipboard, switch view to plain text mode 
and then in slotFromListWidget function we do some things with item->text(). Is there any way to directly pass the text() return value?
I mean something like
Qt Code:
  1. connect( list, SIGNAL( itemDoubleClicked( QListWidgetItem* ) ), this, SLOT( slotFromListWidget( (QListWidgetItem*).text() ) ) );
To copy to clipboard, switch view to plain text mode 
while the slot will be
Qt Code:
  1. slotFromListWidget(QString str)
To copy to clipboard, switch view to plain text mode 
but such things don't work.

Thanks in advance.