1
/***************************************************************************
2
* Copyright (C) 2005 by Adam Treat *
5
* Copyright (C) 2004 by Scott Wheeler *
8
* This program is free software; you can redistribute it and/or modify *
9
* it under the terms of the GNU General Public License as published by *
10
* the Free Software Foundation; either version 2 of the License, or *
11
* (at your option) any later version. *
13
***************************************************************************/
15
#include <kapplication.h>
16
#include <kcmdlineargs.h>
17
#include <kaboutdata.h>
18
#include <kconfigbase.h>
21
#include "datakiosk.h"
23
static const char description[] = I18N_NOOP( "DataKiosk: A database interface tool." );
24
static const char adam[] = I18N_NOOP( "Author of DataKiosk." );
25
static const char scott[] = I18N_NOOP( "Author of Juk. DataKiosk is partially based upon JuK." );
26
static const char tt[] = I18N_NOOP( "Authors of Qt designer. DataKiosk is partially based upon designer." );
28
static KCmdLineOptions options[] =
30
{ "project <file>", I18N_NOOP( "Project file to open" ), 0 },
34
int main( int argc, char *argv[] )
36
KAboutData aboutData( "datakiosk", I18N_NOOP( "DataKiosk" ),
37
"0.7", description, KAboutData::License_GPL,
38
"(c) 2005, Adam Treat", 0,
41
aboutData.addAuthor( "Adam Treat", adam, "treat@kde.org" );
42
aboutData.addCredit( "Scott Wheeler", scott, "wheeler@kde.org" );
43
aboutData.addCredit( "Trolltech AS", tt, "info@trolltech.com" );
45
KCmdLineArgs::init( argc, argv, &aboutData );
46
KCmdLineArgs::addCmdLineOptions( options );
48
KApplication::addCmdLineOptions();
51
DataKiosk *datakiosk = new DataKiosk();
52
a.setMainWidget( datakiosk );