Esempio n. 1
0
int main(int argc, char *argv[])
{
  KAboutData aboutData( "kteatime", I18N_NOOP("KTeaTime"),
    version, description, KAboutData::License_GPL,
    "(c) 1998-1999, Matthias Hoelzer-Kluepfel\n(c) 2002-2003, Martin Willers");
  aboutData.addAuthor("Matthias Hoelzer-Kluepfel",0, "*****@*****.**");
  aboutData.addAuthor("Martin Willers", 0, "*****@*****.**");
  aboutData.addCredit("Daniel Teske", I18N_NOOP("Many patches"), "*****@*****.**");
  KCmdLineArgs::init( argc, argv, &aboutData );

  KApplication app;

  TopLevel toplevel;
  KWin::setSystemTrayWindowFor(toplevel.winId(), 0);
  toplevel.show();

  app.setTopWidget(&toplevel);
  KStartupInfo::appStarted();

  return app.exec();
}