[Kde-pim] KNotesResourceManager as singleton?

Jarosław Staniek js at iidea.pl
Thu Feb 28 16:13:35 GMT 2008


KNotesResourceManager is used in knotesapp.cpp, knotes_part.cpp and 
summarywidget.cpp. In Kontact it is instantiated twice.

Would it be ok to make KNotesResourceManager a K_GLOBAL_STATIC?
With load() method in ctor.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list