one thing I forgot to ask about, but I want to make sure I use good programming techniques.

The table can be refreshed to have new rows in it, and since there will not be too many and I want the latest info to be there, every time I grab new data, I first use:

Qt Code:
  1. tableWidget->setRowCount(0)
To copy to clipboard, switch view to plain text mode 

to clear the table (which is working nicely for this task), then I add new rows with the new data. Since the table could be refreshed often, my main concern is memory leaks in this case.

When I clear the table, do the toolsContacts widgets contained within the cells automatically get deleted too? Or are they still in memory, requiring me to make a function to clean them up as part of the process of clearing the table? Also, if there are any slots connected to them, do I need to "disconnect" them before clearing the table, or are their connections removed when the widgets are deleted?

Thanks a lot for all your help!