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

List:       koffice-devel
Subject:    [kspread] alternative to DocInfo/DocBase
From:       "Ariya Hidayat" <ariya () kde ! org>
Date:       2005-03-30 23:32:50
Message-ID: 1908098335 () web ! de
[Download RAW message or body]

This is a proposed alternative to DocInfo/DocBase. I don't know if this works or not \
(perhaps I missed something, perhaps this does not even make sense at all), so please \
comment on it.

Since the goal is to allow e.g. different ValueConverter and ValueParser for \
different document's locale settings, why not instantiate these classes within \
KSpreadDoc and provide the accessor, e.g. ValueParser* KSpreadDoc::parser()? Other \
classes which want to make use of it directly or indirectly will have access to the \
owning document anyway.

If this works, I'd rather to choose this approach. Class inheritance to share \
unrelated functionalities is a sort of practice I dislike since long time ago. I'm \
sure Herb "GoTW" Sutter will concur with me :-P

Best regards,

Ariya Hidayat


__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


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

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