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

# main.cpp Example File
dialogs/tabdialog/main.cpp

        #include <QApplication>

        #include "tabdialog.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            QString fileName;

            if (argc >= 2)
                fileName = argv[1];
            else
                fileName = ".";

            TabDialog tabdialog(fileName);
            return tabdialog.exec();
        }