keximigratetest.cpp
1/***************************************************************************
2 * Copyright (C) 2004 by Adam Pigg *
3 * adam@piggz.co.uk *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. *
20 ***************************************************************************/
21
22#ifdef HAVE_CONFIG_H
23//#include <config.h>
24#endif
25
26#include <migration/importwizard.h>
27#include <tdeapplication.h>
28
29/*
30This is in no way meant to compile let alone work
31This is very preliminary and is meant for example only
32
33This will be an example program to demonstrate how to import an existing db into
34a new kexi based db
35*/
36
37using namespace KexiMigration;
38
39int main(int argc, char *argv[])
40{
41 TDEApplication app(argc, argv, TQCString("Kexi Migrate Test"));
42
43 ImportWizard* iw = new ImportWizard();
44 iw->setGeometry(300,300,300,250);
45 app.setMainWidget(iw);
46 iw->show();
47
48 return app.exec();
49}
GUI for importing external databases (file-based and server-based)
Framework for importing databases into native KexiDB databases.