New Feature (sort of): new DCOP method for KNotes

Michael Brade brade at kde.org
Fri Jun 9 17:18:49 BST 2006


Hi,

I got a request for KNotes to expose the color of a note on its DCOP 
interface. The patch is obviously small, it adds to the DCOP interfaces

virtual QString fgColor( const QString& noteId ) const = 0;
virtual QString bgColor( const QString& noteId ) const = 0;
virtual ASYNC setColor( const QString& noteId, const QString& fgColor,
                                               const QString& bgColor ) = 0;

and makes KNotes::setColor() public and stores the new colors in the config 
object.

Is this ok to add to KDE 3.5.4? If so, I will update Kontact/KNotes as well.

Thanks,
-- 
Rohan (Michael) Brade;         KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 4: Beyond Your Expectations
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PATCH.dcop-color
Type: text/x-diff
Size: 10613 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060609/ff724d61/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060609/ff724d61/attachment.sig>


More information about the kde-core-devel mailing list