Re: Scripting update - News flash

Christoph Cullmann <[email protected]>
Newsgroups gmane.comp.kde.devel.kate
Message-ID <200207200011.09356@cullmann>
On Saturday 20 July 2002 00:07, Christoph Cullmann wrote:
> Hi,
> to identify the dcop interfaces for the different documents/views, geiseri
> and I have come up with an new naming (which can even BC introduced intro
> the current ktexteditor interfaces)
>
> Document#12-InterfaceName
>
> and
>
> View#4-13-InterfaceName
>
> View#4-13 means: Document number 4, View number 13
>
> What does we win:
> Ah complete clear order of the interfaces to the belonging document and
> view, and even a document -> <- view relation.
>
> How we does it:
>
> we introduce a new methode
>
> void set"InterfaceName"DCOPPrefix (const QCString &) to each interface (a
> non virtual methode, needs no implementation in the part)
>
> and the parts which implement the interface call it like
>
> setEditInterfaceDCOPPrefix (jsdfkldsjfkl)
>
> in their constructor of for example the document.
>
> That is perhaps not that nice, but one of the only BC ways to change the
> naming to a useful pattern with the many interfaces and multi-inheritance
> (the interfaces can't give themself the right name, as they know nothing
> about the view/document they get.

For example, how it works exaclty, look at the editinterface, the only one with the new
naming and methode atm.

>
> cu
> Christoph

-- 
Christoph Cullmann
Kate/KDE developer
[email protected]
http://kate.kde.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.