TODO list for 2.0 (5/June/2001)
F@lk Brettschneider
gigafalk at yahoo.com
Tue Jun 5 15:27:26 UTC 2001
Hi,
Roland Krause wrote:
>
> port docViewMan to HEAD ;-)
This would mean to go back to the generic verion of DocViewMan we partly
had in the very early CVS versions of it. Christian and I optimized
DocViewMan for KDevelop-2.0 to the special use of CEditWidget and
KHTMLView.
A generic version of DocViewMan is possible by exclusively using QObject
and QWiget as base classes again as well as emitting signals instead of
doing operations on special document and view classes. Then another
specialized classes (e.g. KWriteDocViewMan or EmacsDocViewMan) loaded by
plugins can bind the signals to their own special slots.
DocViewMan::createView() {
// doing general things
...
// allowing special things here
emit sig_createView()
...
}
KWriteDocViewMan::slotCreateView() {
...
new KWriteView()
}
EmacsDocViewMan::slotCreateView() {
...
new EmacsView()
}
Ciao,
F at lk
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list