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 "talker.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     Talker talker(argc,argv);
00028     MainWindow w(&talker);
00029     w.show();
00030     app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
00031     int result = app.exec();
00032         return result;
00033 }


qt_tutorials
Author(s): Daniel Stonier
autogenerated on Mon Oct 6 2014 03:58:04