main.cpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Includes
00010 *****************************************************************************/
00011 
00012 #include <QtGui>
00013 #include <QApplication>
00014 #include "../common/main_window.hpp"
00015 #include "qadd.hpp"
00016 
00017 /*****************************************************************************
00018 ** Main
00019 *****************************************************************************/
00020 
00021 int main(int argc, char **argv) {
00022 
00023     /*********************
00024     ** Qt
00025     **********************/
00026     QApplication app(argc, argv);
00027     QAdd qadd(argc,argv);
00028     MainWindow w(&qadd);
00029     w.show();
00030     app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
00031     int result = app.exec();
00032 
00033         return result;
00034 }


qt_tutorials
Author(s): Daniel Stonier
autogenerated on Tue Jan 7 2014 11:33:48