/***************************************************************************
                          main.cpp  -  description
                             -------------------
    copyright            : (C) 2007 by Andre Simon
    email                : andre.simon1@gmx.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#include <QApplication>
#include <QDialog>
#include "mydialog.h"

int main(int argc, char *argv[])
{
     QApplication app(argc, argv);
     MyDialog d(0,  Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
	 if (argc>1) d.setInputFileName(argv[1]);
     d.show();
     return app.exec();
}