I'like Qdesigner would include <QListWidgetItem> when I use the 'gotoSlot' on a QListWidget-listitemclicked. Now I have to do manually.

Now, Designer only write this line by me (when a use gotoslot ) :
Qt Code:
  1. void on_listWidget_itemClicked(QListWidgetItem* item);
To copy to clipboard, switch view to plain text mode 
But the ui_ui.h file does not include <QListWidgetItem>

So, I have to include <QListWidgetItem>, because if not I have an error.
I'm doing some bad? Why does not designer does the work ?

(If I'm going to use this slot .... it does not sense I have not include <QListWidgetItem>)
Any help ? Maybe it be a future feature of Designer ?Thanks.