This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

main.cpp

By: egor7 on Jul 12th, 2011  |  syntax: C++ (with Qt extensions)  |  size: 0.31 KB  |  views: 81  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data