[PATCH] KNotes: geometry DCOP functions, DCOP newlines question

Michael Brade brade at kde.org
Wed Jul 5 20:11:50 BST 2006


Hi,

here's another trivial patch to add 4 new DCOP methods I have been asked 
repeatedly to support: height(), width(), move(), and resize(). Cornelius? :)

And I have another problem: is it possible to add newline characters with DCOP 
somehow? This
  dcop knotes KNotesIface newNote "title" "line1\nline2"
doesn't work.

In a script it is possible to use two lines like this

dcop knotes KNotesIface newNote "title" "line1
line2"

but is this really the only possibility?

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: geo.patch
Type: text/x-diff
Size: 3176 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060705/a7e0db4d/attachment.patch>
-------------- 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/20060705/a7e0db4d/attachment.sig>


More information about the kde-core-devel mailing list