Hi,
I'm amking a Qt Gui application so the main its like:
Qt Code:
int main(int argc, char *argv[]) { }To copy to clipboard, switch view to plain text mode
I need to use those arguments (argc, argv[]) in the mainwindow. So my question is: How can I use them there? The only solution I can think of is to create a new class which receives them, put them in global variables and then inherite mainwindow from the new class but I don't really like it and I suposse there is an easer way to do it.
Thanks!
Bookmarks