Hi i am new for QT and i need to use winEvent function but an error appear when i try build my project:
my code is :
Qt Code:
  1. bool MainWindow::winEvent(MSG *message, long *result)
  2. {
  3. //handling message...........
  4.  
  5. return 0;
  6. }
To copy to clipboard, switch view to plain text mode 
this is the error prevent building:
Qt Code:
  1. C:\Users\ETC\Documents\QTProjects\Calculator-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\..\Calculator\mainwindow.cpp:16: error: no 'bool MainWindow::winEvent(MSG*, long int*)' member function declared in class 'MainWindow'
To copy to clipboard, switch view to plain text mode