Hi
I have something like:
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
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
slotFromListWidget(QString str)
To copy to clipboard, switch view to plain text mode
but such things don't work.
Thanks in advance.
Bookmarks