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

List:       kde-commits
Subject:    Re: koffice/kpresenter
From:       Reginald Stadlbauer <reggie () trolltech ! com>
Date:       2001-02-04 16:23:52
[Download RAW message or body]

On Sunday 04 February 2001 15:54, David Faure wrote:
> On Sun, Feb 04, 2001 at 04:47:43PM +0100, Werner Trobin wrote:
> > David Faure wrote:
> > > On Fri, Feb 02, 2001 at 07:24:36PM +0000, CVS by wtrobin wrote:
> > > > koffice/kpresenter textcmd.cc,NONE,1.1 textcmd.h,NONE,1.1
> > > > Makefile.am,1.132,1.133 kpresenter_doc.cc,1.253,1.254
> > > > kptextobject.cc,1.55,1.56 kptextobject.h,1.20,1.21
> > > > ktextedit.cc,1.23,1.24 ktextedit.h,1.9,1.10 Author: wtrobin
> > > > Fri Feb  2 19:24:36 UTC 2001
> > > > In directory cvs.kde.org:/tmp/cvs-serv20731
> > > >
> > > > Modified Files:
> > > >       Makefile.am kpresenter_doc.cc kptextobject.cc kptextobject.h
> > > >       ktextedit.cc ktextedit.h
> > > > Added Files:
> > > >       textcmd.cc textcmd.h
> > > > Log Message:
> > > > Started to fix the text input, undo of text actions, setting the
> > > > document modified,... still a lot of work remaining, tho
> > >
> > > Cool. Hmmmm... I started to work on kpresenter too, on my
> > > laptop (I'm still in Belgium). Hmm, merging time ahead ;-)
> >
> > Well, "fortunately" I got sick of it anyway and I'm doing
> > something else now :)
> >
> > I wanted to port KPresenter to Reggie's new textedit classes,
> > but it didn't work out (either we'd need tons of Qt 3 in the
> > kpresenter dir, or I'd have to hack some Qt files which is bad :( )
>
> Hmm, why can KWord work with that textedit and not kpresenter ??
> It seems that only 2 or 4 files (although many classes in them :)
> are needed in KWord. Maybe you should start with that one and port
> to Qt 3 when it's out, as we'll do with KWord.

The ones which are in the KWord branch are pretty old, IIRC. Since then Lars 
and Brad did a lot on QFont stuff in Qt 3 which I use now in the richtext 
engine. But this is just one new QFont function IIRC, which can be replaced 
by an old one (will fail for some scripts then, though). So it should be 
possible to port qrichtext.cpp and qrichtext_p.h back to Qt 2.x, although it 
won't be fun :-))

> This processEvents hack in KPTextObject or KTextEdit really got me
> much headache the other day, and I was dreaming of a QTextEdit-based
> kpresenter. Well, I hacked around it already, anyway :)

-- 
Reggie (reggie@trolltech.com)

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

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