• Skip to content
  • Skip to link menu
The KDE Source Repository
  • KDE Homepage / KDE Source Repository Homepage
  • -Full Width
  • Sitemap
  • Contact Us
 
/[KDE]

Revision 550490


Jump to revision: Previous Next
Author: brade
Date: Sun Jun 11 23:50:03 2006 UTC (17 years, 5 months ago)
Changed paths: 5
Log Message:
Add DCOP accessors and setters for the note colors.

The signal sigDataChanged() has to be emitted instead of calling saveData()
directly to prevent the CTOR from saving the yet empty notes back to disk---at
that time the signal is not connected yet; additionally, saveData() would call
Journal::setDescription() with an empty editor, effectively deleting the note
before it was even read at all.

Journal::updated() has to be called to tell the resource that the data has
changed. setCustomProperty() does not do that, thus the color changes wouldn't
be saved to disk if nothing else was changed.

CCMAIL: caio1982@gmail.com



Changed paths:

Path Details
Directorybranches/KDE/3.5/kdepim/knotes/ChangeLog modified , text changed
Directorybranches/KDE/3.5/kdepim/knotes/KNotesAppIface.h modified , text changed
Directorybranches/KDE/3.5/kdepim/knotes/knote.cpp modified , text changed
Directorybranches/KDE/3.5/kdepim/knotes/knotesapp.cpp modified , text changed
Directorybranches/KDE/3.5/kdepim/knotes/knotesapp.h modified , text changed
Maintained by the KDE sysadmins
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal