00001 /*************************************************************************** 00002 * Copyright (C) 1992-2000 Trolltech AS. All rights reserved. * 00003 * Copyright (C) 2002 by Yann Hodique * 00004 * Yann.Hodique@lifl.fr * 00005 * * 00006 * This program is free software; you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation; either version 2 of the License, or * 00009 * (at your option) any later version. * 00010 ***************************************************************************/ 00011 00012 #include <qapplication.h> 00013 00014 #include "qnet.h" 00015 #include "version.h" 00016 00017 int main( int argc, char ** argv ) { 00018 QApplication a( argc, argv ); 00019 00020 QMtp * mw = new QMtp(); 00021 mw->setCaption( CLIENT ); 00022 00023 mw->show(); 00024 a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); 00025 00026 return a.exec(); 00027 }