/* * Copyright (C) 2003 Torben Nielsen */ #include "serverspy.h" #include /* #include #include #include */ static const char description[] = "A KDE KPart Application"; static const char version[] = "0.1"; /* static KCmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open." ), 0 }, KCmdLineLastOption }; */ int main(int argc, char **argv) { /* KAboutData about("serverspy", I18N_NOOP("serverspy"), version, description, KAboutData::License_GPL, "(C) 2003 Torben Nielsen", 0, 0, "torben.nielsen@rocketmail.com"); about.addAuthor( "Torben Nielsen", 0, "torben.nielsen@rocketmail.com" ); KCmdLineArgs::init(argc, argv, &about); KCmdLineArgs::addCmdLineOptions( options ); */ QApplication app(argc, argv); Serverspy *mainWin = 0; mainWin = new Serverspy(); app.setMainWidget( mainWin ); mainWin->show(); // mainWin has WDestructiveClose flag by default, so it will delete itself. return app.exec(); }