If I do this:
Qt Code:
  1. QApp *app = qobject_cast<QApp>(qApp);
  2. app->mouseCoords(...); // what is this exactly? Am I not supposed to use connect()?
To copy to clipboard, switch view to plain text mode 
Then what happens to this?
Qt Code:
  1. QApp a(argc, argv);
To copy to clipboard, switch view to plain text mode 

Thanks for the help.