I have a main.cpp class
Qt Code:
  1. #include <QApplication>
  2. #include "server.h"
  3.  
  4. int main(int argc, char * argv[])
  5. {
  6. QApplication app(argc, argv);
  7. Server * server;
  8. server = new Server();
  9. return app.exec();
  10. }
To copy to clipboard, switch view to plain text mode 

At this point, I presume, the "app" instance has been inputed with the "argc" and "argv".

How can I use this variables in my "server" instance ?