[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KNotes: geometry DCOP functions, DCOP newlines question
From:       Michael Brade <brade () kde ! org>
Date:       2006-07-08 9:41:21
Message-ID: 200607081141.28855.brade () kde ! org
[Download RAW message or body]


On Wednesday 05 July 2006 21:11, Michael Brade wrote:
> here's another trivial patch to add 4 new DCOP methods I have been asked
> repeatedly to support: height(), width(), move(), and resize(). Cornelius?
> :)
"Same procedure as every year, James." huh? ;-( Who cares to answer?

> 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?
I want to add: I have a user who reads lines from files, builds the document 
and wants to send it through DCOP to KNotes. So the above solution is not 
possible in his case. 

If there is no other way to encode a newline for DCOP I will have to add 
another method "appendText( const QString & )".

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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic