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

# main.cpp Example File
widgets/tetrix/main.cpp

        #include <QApplication>

        #include <stdlib.h>
        #include <time.h>

        #include "tetrixwindow.h"

        using namespace std;

        int main(int argc, char *argv[])
        {
            QApplication app(argc,argv);
            TetrixWindow window;
            app.setMainWidget(&window);
            window.show();
            srand(time(0));
            return app.exec();
        }