KnowIt – tool for managing notes
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.

knowitapp.cpp 1.4KB

123456789101112131415161718192021222324252627282930313233
  1. /***************************************************************************
  2. knowitApplication.cpp - description
  3. -------------------
  4. begin : wto maj 20 2003
  5. copyright : (C) 2003 by Micha³ Rudolf
  6. email : mrudolf@kdewebdev.org
  7. ***************************************************************************/
  8. /***************************************************************************
  9. * *
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. ***************************************************************************/
  16. #include "knowitapp.h"
  17. KnowitApplication::KnowitApplication(bool allowStyles, bool GUIEnabled)
  18. : KUniqueApplication(allowStyles, GUIEnabled, true), mcloseByLogout(false)
  19. {
  20. }
  21. KnowitApplication::~KnowitApplication()
  22. {
  23. }
  24. void KnowitApplication::commitData(TQSessionManager& sm)
  25. {
  26. mcloseByLogout = true;
  27. KUniqueApplication::commitData(sm);
  28. }