YaKuake – Quake-style terminal emulator
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.

main.cpp 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 2 of the License, or
  5. (at your option) any later version.
  6. */
  7. /*
  8. Copyright (C) 2005 Francois Chazal <neptune3k@free.fr>
  9. Copyright (C) 2006-2008 Eike Hein <hein@kde.org>
  10. */
  11. #include "main_window.h"
  12. #include <tdelocale.h>
  13. #include <tdeaboutdata.h>
  14. #include <tdecmdlineargs.h>
  15. #include <kuniqueapplication.h>
  16. #include <kdebug.h>
  17. static const char version[] = "2.8.1";
  18. static const char description[] = I18N_NOOP("A Quake-style terminal emulator based on TDE Konsole technology. ");
  19. static TDECmdLineOptions options[] = { TDECmdLineLastOption };
  20. int main(int argc, char ** argv)
  21. {
  22. TDEAboutData about("yakuake", I18N_NOOP("Yakuake"), version, description,
  23. TDEAboutData::License_GPL, "(C) 2005-2008 The Yakuake Team", 0, 0, 0);
  24. about.addAuthor("Eike Hein", I18N_NOOP("Maintainer"), "hein@kde.org");
  25. about.addAuthor("Francois Chazal", I18N_NOOP("Project Founder (Inactive)"), "neptune3k@free.fr");
  26. about.addCredit("Frank Osterfeld", 0, "frank.osterfeld@kdemail.net");
  27. about.addCredit("Martin Galpin", 0, "martin@nemohackers.org");
  28. about.addCredit("Thomas Tischler", 0, "Tischler123@t-online.de");
  29. about.addCredit("Stefan Bogner", 0, "bochi@kmobiletools.org");
  30. about.addCredit("Georg Wittenburg", 0, "georg.wittenburg@gmx.net");
  31. about.addCredit("Dominik Seichter", 0, "domseichter@web.de");
  32. about.addCredit("Bert Speckels", 0, "bert@speckels.de");
  33. about.addCredit("Daniel 'suslik' D.", I18N_NOOP("Plastik skin"), "dd@accentsolution.com");
  34. about.addCredit("Mark Bryan Yu", I18N_NOOP("Auto-open on pointer touching screen edge"), "vafada@gmail.com");
  35. TDECmdLineArgs::init(argc, argv, &about);
  36. TDECmdLineArgs::addCmdLineOptions(options);
  37. KUniqueApplication::addCmdLineOptions();
  38. if (!KUniqueApplication::start())
  39. {
  40. kdDebug() << "Yakuake is already running!" << endl;
  41. return(0);
  42. }
  43. KUniqueApplication app;
  44. MainWindow* win = new MainWindow();
  45. win->hide();
  46. return app.exec();
  47. }