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

# main.cpp Example File
sql/cachedtable/main.cpp

        #include <QApplication>

        #include "../connection.h"
        #include "tableeditor.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            if (!createConnection())
                return 1;

            TableEditor editor("person");
            app.setMainWidget(&editor);
            editor.show();
            return app.exec();
        }