Re: Scripting update - News flash
Anders Lund <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kate |
|---|---|
| Organization | Saguaro |
| Message-ID | <[email protected]> |
On Saturday 20 July 2002 10:36, Christoph Cullmann wrote: > Yes, but the new naming is at least unique and shows to which document/view > the interface belongs, the current interface nummer must not mach the > corresponding view/document number. Well, wouldn't it be better to have an optional id # in the interfaces CTOR's? Or would that be BIC? /me starts hating the BC police:( If having the setID method is the only way to ensure that an interface has a sane name, at least just make the name "<interfacename>#<(document|view)number>", so that constructing the correct string is easy and safe. On a side note, since all those interface classes are basically all the same, wouldn't it be possible to use a base class for them? -anders