Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QApplication>
- #include <QMainWindow>
- #include "CModDocument.h"
- #include "CModEditor.h"
- int main(int argc, char *argv[])
- {
- QApplication app(argc, argv);
- QMainWindow wnd;
- // init CA
- CModDocument a(&wnd);
- // init CB
- CModEditor b(&wnd);
- wnd.show();
- return app.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement