Re: Passing an integer to a string to a method having QString as a parameter signature

2011-02-08 Thread Gopalakrishna Bhat
Thanks! :) On Tue, Feb 8, 2011 at 7:04 PM, C. Boemann wrote: > On Tuesday 08 February 2011 13:59:47 Gopalakrishna Bhat wrote: > > I was looking as this piece of code in KoTextEditor.cpp > > > > > > void KoTextEditor::newLine() > > { > >d->updateState(KoTextEditor::Private::Custom, i18n("Line

Re: Passing an integer to a string to a method having QString as a parameter signature

2011-02-08 Thread C. Boemann
On Tuesday 08 February 2011 13:59:47 Gopalakrishna Bhat wrote: > I was looking as this piece of code in KoTextEditor.cpp > > > void KoTextEditor::newLine() > { >d->updateState(KoTextEditor::Private::Custom, i18n("Line Break")); >if (d->caret.hasSelection()) >d->deleteInlineObjects

Passing an integer to a string to a method having QString as a parameter signature

2011-02-08 Thread Gopalakrishna Bhat
I was looking as this piece of code in KoTextEditor.cpp void KoTextEditor::newLine() { d->updateState(KoTextEditor::Private::Custom, i18n("Line Break")); if (d->caret.hasSelection()) d->deleteInlineObjects(); KoTextDocument koDocument(d->document); KoStyleManager *styleManager