[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [patch] New KEdit ready, please review
From: Mickael Marchand <m.marcha () alemtid ! asso ! fr>
Date: 2001-11-26 11:49:01
[Download RAW message or body]
well, looks good to me then :)
i'll do it tonight ;)
should be easy, i'll update khtml the same way
concerning khtml, it used to implement its own find functions (using
RegExp) i think all this stuff can be safely replaced by KEdFind functions.
I'll first keep these functions to make a simple patch just to safely add \
all new kedit stuff everywhere. Then i'll see if we can remove khtml_find.*
from khtml or not. (Any khtml coder around ?)
thanks David,
Mik
On Mon, Nov 26, 2001 at 12:25:25PM +0100, David Faure wrote:
> On Monday 26 November 2001 11:41, Mickael Marchand wrote:
> > Hmm, ok, i can try that then, just give me some example please, i don't \
> > know how to do it :/
> > actually, i was thinking to use the kregexpeditor implementation from \
> > kdeutils, maybe you mean rewriting it in kdelibs ? but this will add a \
> > lot of stuff in kdeui then actually, using kdeutils' kregexpeditor \
> > needs to link with kpart (see khtml_find in cvs) i think
> > m_editorDialog = \
> > KParts::ComponentFactory::createInstanceFromQuery<QDialog>( \
> > "KRegExpEditor/KRegExpEditor", QString::null, this ); this line create \
> > the editor, i think it needs to use kpart for that... is there any \
> > other way to 'call' the editor ?
> > if anyone can point me to a url/example where i can see how to \
> > implement interfaces without linking with kpart, it would be usefull \
> > :), i'm quite lost with interfaces now
> > ...
>
> The trick is... that you can use KParts::ComponentFactory::*, since this
> is an inline template method, it doesn't actually require to _link_
> to KParts. You simply need the header file, which you can include from \
> kdeui (for instance using <kparts/blah.h>) ;)
>
> BTW http://developer.kde.org/documentation/library/cvs-api/classref/interfaces/KRegExpEditorInterface.html
> just updated with the full docu for kregexpeditorinterface.
>
> --
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
> KDE 3.0: Konquering the Desktops
>
> > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to \
> > > unsubscribe <<
--
Mickael Marchand
Elève-ingénieur / Engineer student
Ecole des Mines de Douai - France
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to \
> > unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic