You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
985 B
41 lines
985 B
/*
|
|
Jason Katz-Brown
|
|
jason@katzbrown.com
|
|
|
|
Reverse Polish Notation calculator for KDE.
|
|
*/
|
|
|
|
/*
|
|
Licensed under the BSD License.
|
|
*/
|
|
|
|
#include <kcmdlineargs.h>
|
|
#include <kaboutdata.h>
|
|
#include <klocale.h>
|
|
|
|
#include "mathemagics.h"
|
|
|
|
static const char *description =
|
|
I18N_NOOP("A Reverse Polish Notation scientific calculator");
|
|
|
|
|
|
static KCmdLineOptions options[] =
|
|
{
|
|
{ 0, 0, 0 }
|
|
};
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
KAboutData aboutData( "mathemagics", I18N_NOOP("Mathemagics"), "1.1", description, KAboutData::License_BSD, "(c) 2002-2004, Jason Katz-Brown", 0, "http://katzbrown.com/mathemagics/", "jason@katzbrown.com");
|
|
aboutData.addAuthor("Jason Katz-Brown", I18N_NOOP("Main author"), "jason@katzbrown.com");
|
|
|
|
KCmdLineArgs::init(argc, argv, &aboutData);
|
|
KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
KApplication a;
|
|
Mathemagics *mathemagics = new Mathemagics(0, "Mathemagics", Qt::WStyle_ContextHelp);
|
|
a.setMainWidget(mathemagics);
|
|
mathemagics->show();
|
|
return a.exec();
|
|
}
|