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


qt_create
Author(s): Daniel Stonier
autogenerated on Tue Jan 7 2014 11:33:54