I have this code as exemple that uses "this" :
ApplicationWindow::ApplicationWindow()
{
// set background and size it correctly
( this )->resize( 569, 458 );
ApplicationWindow::ApplicationWindow()
: QMainWindow( 0 )
{
// set background and size it correctly
( 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" ?
Bookmarks