Advertisement
egor7

main.cpp

Jul 12th, 2011
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <QApplication>
  2. #include <QMainWindow>
  3.  
  4. #include "CModDocument.h"
  5. #include "CModEditor.h"
  6.  
  7. int main(int argc, char *argv[])
  8. {
  9.     QApplication app(argc, argv);
  10.  
  11.     QMainWindow wnd;
  12.  
  13.     // init CA
  14.     CModDocument a(&wnd);
  15.  
  16.     // init CB
  17.     CModEditor b(&wnd);
  18.  
  19.     wnd.show();
  20.  
  21.     return app.exec();
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement