If this is your actual code, you are missing the Q_OBJECT macro at the top of the class declaration, so none of the signals / slots will work.

Qt Code:
  1. class ListWidget : public QListWidget
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6.  
  7. // ...
  8. };
To copy to clipboard, switch view to plain text mode 

Please use CODE tags when posting code. See my signature below.