Hi to all!

Can somene please tell me how to access variable appSettings, declared in main.cpp:
Qt Code:
  1. // qt includes
  2. #include <QtGui>
  3. #include <QApplication>
  4. #include <QPlastiqueStyle>
  5.  
  6. // custom includes
  7. #include "cmainwindow.h"
  8. #include "globals.h"
  9. #include "CApplicationSettings.h"
  10.  
  11.  
  12. int main(int argc, char *argv[])
  13. {
  14. ....
  15. CApplicationSettings appSetings(strIniFileName,
  16. QSettings::IniFormat,
  17. qApp); // sets up app settings
  18.  
  19. ....
  20. }
To copy to clipboard, switch view to plain text mode 
from class, that is defined through
Qt Code:
  1. #include "cmainwindow.h"
To copy to clipboard, switch view to plain text mode 
in main.cpp? Is this possible?