kexi
main.cpp
00001 /* This file is part of the KDE project 00002 00003 begin : Sun Jun 9 12:15:11 CEST 2002 00004 00005 Copyright (C) 2003 Lucijan Busch <lucijan@gmx.at> 00006 Copyright (C) 2003 Joseph Wenninger <jowenn@kde.org> 00007 Copyright (C) 2003-2005 Jaroslaw Staniek <js@iidea.pl> 00008 00009 This program is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Library General Public 00011 License as published by the Free Software Foundation; either 00012 version 2 of the License, or (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Library General Public License for more details. 00018 00019 You should have received a copy of the GNU Library General Public License 00020 along with this library; see the file COPYING.LIB. If not, write to 00021 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00022 * Boston, MA 02110-1301, USA. 00023 */ 00024 00025 #include <qapplication.h> 00026 #include <main/keximainwindowimpl.h> 00027 00028 extern "C" int kdemain(int argc, char *argv[]) 00029 { 00030 int result = KexiMainWindowImpl::create(argc, argv); 00031 if (!qApp) 00032 return result; 00033 00034 result = qApp->exec(); 00035 delete qApp; 00036 return result; 00037 }