I have this code as exemple that uses "this" :

Qt Code:
  1. ApplicationWindow::ApplicationWindow()
  2. : QMainWindow( 0 )
  3. {
  4.  
  5. // set background and size it correctly
  6. ( this )->resize( 569, 458 );
To copy to clipboard, switch view to plain text mode 


I would need to call a procedure with "this" as parameter so that I can display stuff in "this" from the procedure. Like for instance resize "this" inside another procedure to make my main proc shorter and cleaner.

How do I declare the function ? What is the the type of "this" ?