Hi. I've got a problem. I have public member function called clear() which looks like this:
Qt Code:
  1. void MainWindow::clear()
  2. {
  3. tableWidget->clear();
  4. tableWidget_2->clear();
  5. tableWidget_3->clear();
  6. tableWidget_4->clear();
  7. tableWidget_5->clear();
  8. tableWidget_6->clear();
  9. tableWidget_7->clear();
  10. }
To copy to clipboard, switch view to plain text mode 

and when I call it in another member function
Qt Code:
  1. MainWindow::clear()
To copy to clipboard, switch view to plain text mode 

There appear error that I can't call member function MainWindow::clear() without object. What's the problem about? Regards