[apaku at gmx.de: Re: KDE/kdevelop/lib/plugins/outputviews]

Andreas Pakulat apaku at gmx.de
Sun May 13 21:09:00 UTC 2007


On 13.05.07 14:16:41, dukju ahn wrote:
> Ok, I was wrong on model-outputview. The location of model will be
> changed, and the case of registering same tab title will be reverted.

Thanks, already saw the commits.

> > > exec make
> > > gcc -c        // KProcess emits "gcc -c"
> > > somefile.c  // KProcess emits "somefile.c"
> > >
> > > Then there would be 2 line in outputview.
> >
> > Yes thats possible, but I think LineProcessMaker should still emit a
> > QStringList instead of one line after the other and just buffer the last
> > line if its not complete yet.
> 
> I can't understand this sentence. Do you mean that if there are
> 3 completed line and one incomplete word, emit completed 3 lines
> with QStringList and bufferring the incomplete word?

Exactly, that way the model can insert multiple new lines at once which
is faster in the view than inserting each line separately.

> > Or we can do all of this in our own model,
> > when we replace QStandardItemModel.
> 
> The reason why I didn't do that inside OutputView Item is,
> ProcessLineMaker was utility in KDev3 and KDev3's outputview uses it.
> Also I hoped that other possible plugins may use ProcessLIneMaker.
> That's why it's a util.

Yeah, I do understand that and I'm all for sharing code. 

Andreas

-- 
Avoid gunfire in the bathroom tonight.




More information about the KDevelop-devel mailing list