RFC for changes in the Context types ...
Mario Scalas
mario.scalas at libero.it
Wed Jul 16 16:29:03 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I'm mumbling about changing the signature of the Context::hasType(QString)
method to Context::hasType( ContextType ) where ContextType is
enum ContextType { FileContext, EditorContext, DocumentationContext,
ClassContext };
On IRC roberto produced some doubts about the extensibility of this approach
since it prevents from building custom contexts: he suggested instead an
approach based on rtti which seems possible.
Perhaps somebody else has feedbacks on this: should things left as they are
(QString) with possible problems because "I mispelled that context string" or
should a better approach used (rtti, enum, whatever)?
Cheers,
Mario
- --
Mario Scalas <mario dot scalas at libero dot it>
Miser miser! Modo niger et ustus fortiter.
homepage: http://www.gicomsrl.it/~mario/index.html
GnuGPG public key on keyring servers as hkp://pgp.mit.edu or
hkp://blackhole.pca.dfn.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/FV9vkfH25fNf4bcRAgyfAJ9FV+16ET5qXg73Ghu0/1l+XZXZ/ACfQjhh
pdg+oi7oMG3p4VzAeU53B5M=
=cgq0
-----END PGP SIGNATURE-----
More information about the KDevelop-devel
mailing list