KVirc – next generation IRC client
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.
 
 
 
 
 
 

70 lines
2.0 KiB

  1. //
  2. // File : kvi_tal_application.coo
  3. // Creation date : Sun Aug 12 2001 04:34:21 by Szymon Stefanek
  4. //
  5. // This file is part of the KVirc irc client distribution
  6. // Copyright (C) 2001 Szymon Stefanek (pragma at kvirc dot net)
  7. //
  8. // This program is FREE software. You can redistribute it and/or
  9. // modify it under the terms of the GNU General Public License
  10. // as published by the Free Software Foundation; either version 2
  11. // of the License, or (at your opinion) any later version.
  12. //
  13. // This program is distributed in the HOPE that it will be USEFUL,
  14. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. // See the GNU General Public License for more details.
  17. //
  18. // You should have received a copy of the GNU General Public License
  19. // along with this program. If not, write to the Free Software Foundation,
  20. // Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  21. //
  22. #define __KVILIB__
  23. #include "kvi_tal_application.h"
  24. #ifdef COMPILE_TDE_SUPPORT
  25. // The constructor below triggers a warning
  26. // ../tal/kvi_tal_application.cpp: In constructor
  27. // `KviTalApplication::KviTalApplication(int, char**)':
  28. // ../tal/kvi_tal_application.cpp:31: warning: `__base_ctor' is deprecated
  29. // (declared at /opt/kde/include/kapplication.h:198)
  30. //
  31. // The TDEApplication constructor has been declared as deprecated
  32. // in favor of a complexier initialization that uses TDECmdLineArgs
  33. // and can't be abstracted easily.
  34. // The other constructors are not "old" and "stable" enough
  35. // to be safely used at this time. We'll rethink this when KDE 4 is out.
  36. KviTalApplication::KviTalApplication(int &argc,char ** argv)
  37. : TDEApplication(argc,argv,"kvirc")
  38. {
  39. }
  40. KviTalApplication::~KviTalApplication()
  41. {
  42. }
  43. #include "kvi_tal_application_kde.moc"
  44. #else
  45. KviTalApplication::KviTalApplication(int &argc,char ** argv)
  46. : TQApplication(argc,argv)
  47. {
  48. }
  49. KviTalApplication::~KviTalApplication()
  50. {
  51. }
  52. #include "kvi_tal_application_qt.moc"
  53. #endif