There's no error at or before line 16. There is an obvious error at line 58 that causes an error message at line 59: what is QTable and where is it defined? There's no doubt.
In future it helps if you post the actual code that generated the error so that the line numbers are meaningful, or adjust the error message to match the line numbers the forum gives a snippet.
Bookmarks