Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# main.cpp Example File
tutorial/t14/main.cpp

        /****************************************************************
        **
        ** Qt tutorial 14
        **
        ****************************************************************/

        #include <QApplication>

        #include "gameboard.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            GameBoard board;
            board.setGeometry(100, 100, 500, 355);
            app.setMainWidget(&board);
            board.show();
            return app.exec();
        }