Re: Getting plain text from Plasma::TextEdit

2009-07-21 Thread HB
Richard, thank you very much. 'nativeWidget'... That is so barefacedly obvious... My perceptivity is poor. :| Thank you again. I'm sorry for wasting your time. --- Mateusz Szubart > KTextEdit has a toPlainText method: > > $ rbqtapi -rkorundum4 -p KDE::TextEdit |grep -i plain > void QTextEdit::

Re: Getting plain text from Plasma::TextEdit

2009-07-21 Thread Richard Dale
On Tue, Jul 21, 2009 at 3:55 PM, HB wrote: > Thank you Richard. > I wonder whether there is a possibility to get plain text from > Plasma::TextEdit? > As I see Plasma::TextEdit and Plasma::LineEdit are only 'text input' > widgets. > LineEdit isn't multiline, so is not suitable. KTextEdit has a toPl

Re: Getting plain text from Plasma::TextEdit

2009-07-21 Thread HB
Thank you Richard. I wonder whether there is a possibility to get plain text from Plasma::TextEdit? As I see Plasma::TextEdit and Plasma::LineEdit are only 'text input' widgets. LineEdit isn't multiline, so is not suitable. --- Mateusz Szubart > On Tue, Jul 21, 2009 at 1:46 PM, HB wrote: >> > Hel

Re: Getting plain text from Plasma::TextEdit

2009-07-21 Thread Richard Dale
On Tue, Jul 21, 2009 at 1:46 PM, HB wrote: > Hello, > > Is there any way to get plain text from Plasma::TextEdit? > > Plasma::TextEdit is child of KTextEdit, which is child of QTextEdit (right?) > > So, Plasma::TextEdit should have method toPlainText() > > I'm writing in Ruby, but in comments I hav

Getting plain text from Plasma::TextEdit

2009-07-21 Thread HB
Hello, Is there any way to get plain text from Plasma::TextEdit? Plasma::TextEdit is child of KTextEdit, which is child of QTextEdit (right?) So, Plasma::TextEdit should have method toPlainText() I'm writing in Ruby, but in comments I have placed C++ code (but not checked it) This is my code: