Logo Search packages:      
Sourcecode: tastymenu version File versions  Download package

void TastyMenu::about (  ) [virtual]

Is called when the user selects "About" from the applets RMB menu. Reimplement this function to launch a about dialog.

Note that this is called only when your applet supports the About action. See Action and KPanelApplet().

Definition at line 181 of file tastymenu.cpp.

{
  KAboutData data("tastymenu",
                  I18N_NOOP("Tasty Menu"),
                  "1.0.6",
                  I18N_NOOP("KMenu replacement"),
                  KAboutData::License_LGPL_V2,
                  "(c) 2006-2007, Marco Martin",0,0,"mart@notmart.org");

  data.addAuthor("Marco Martin",
                  I18N_NOOP("Maintainer"),
                  "mart@notmart.org",
                  "http://www.notmart.org");

  data.setTranslator(I18N_NOOP("_: NAME OF TRANSLATORS\\nYour names")
               ,I18N_NOOP("_: EMAIL OF TRANSLATORS\\nYour emails"));

  data.addCredit("Yurkovsky Andrey",
                  I18N_NOOP("For the Russian translation"),
                  "anyr@tut.by");
  data.addCredit("Jannick Kuhr",
                  I18N_NOOP("For the German translation"),
                  "jannick.kuhr@kdemail.net");
  data.addCredit("Jesús S Fernández Prieto (xgoan)",
                  I18N_NOOP("For the Spanish translation"),
                  "jesus@infodps.com");
  data.addCredit("Motsyo Vitaliy",
                  I18N_NOOP("For the Ukrainian translation"),
                  "vitalikmotsyo@gmail.com");
  data.addCredit("Laurent Hilsz",
                  I18N_NOOP("For the French translation"),
                  "laurent.hilsz@gmail.com");
  data.addCredit("Tommi Nieminen",
                  I18N_NOOP("For the Finnish translation"),
                  "translator@legisign.org");
  data.addCredit("Matija Šuklje",
                  I18N_NOOP("For the Slovenian translation"),
                  "matija.suklje@rutka.net");
  data.addCredit("Tomasz Argasiński",
                  I18N_NOOP("For the Polish translation"),
                  "targasinski@o2.pl");
  data.addCredit("Ewerton de A. Dutra"
                  I18N_NOOP("For the Polish translation"),
                  "ea.dutra@gmail.com");


  data.addCredit("Oswald Buddenhagen and Stephan Kulow",
                  I18N_NOOP("For the Switch user code from KDM"),
                  "ossi@kde.org and coolo@kde.org");

  data.addCredit("The whole KBFX team",
                 I18N_NOOP("For some inspirations here and there."),
                 "http://www.kbfx.org");

  data.addCredit("Seb Ruiz",
                 I18N_NOOP("For some code taken from Amarok's statistics list view"),
                 "me@sebruiz.net");

  KIconLoader *iconLoader = KGlobal::iconLoader();
  data.setProgramLogo(iconLoader->loadIcon("kmenu", KIcon::Panel).convertToImage());

  KAboutApplication dialog(&data);
  dialog.exec();
}

Generated by  Doxygen 1.6.0   Back to index