Hi,
I have a project with two header files mainwindow.h and website.h.
I want to access a method from website.cpp from inside mainwindow.cpp.
I can access any function from inside mainwindow by doing Window w then doing w->function();
However, when the function finishes from inside the mainwindow the memory for w is erased.
How do I keep w around and HOW DO I DECLARE Website w from my header file?
Thanks, V$h3r