kexi

keximigratetest.cpp

00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Adam Pigg                                       *
00003  *   adam@piggz.co.uk                                                      *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.             *
00020  ***************************************************************************/
00021 
00022 #ifdef HAVE_CONFIG_H
00023 //#include <config.h>
00024 #endif
00025 
00026 #include <migration/importwizard.h>
00027 #include <kapplication.h>
00028 
00029 /*
00030 This is in no way meant to compile let alone work
00031 This is very preliminary and is meant for example only
00032  
00033 This will be an example program to demonstrate how to import an existing db into
00034 a new kexi based db
00035 */
00036 
00037 using namespace KexiMigration;
00038 
00039 int main(int argc, char *argv[])
00040 {
00041     KApplication app(argc, argv, "Kexi Migrate Test");
00042 
00043     ImportWizard* iw = new ImportWizard();
00044     iw->setGeometry(300,300,300,250);
00045     app.setMainWidget(iw);
00046     iw->show();
00047     
00048     return app.exec();
00049 }
KDE Home | KDE Accessibility Home | Description of Access Keys