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

List:       kdevelop-devel
Subject:    KDevProject and const methods
From:       Mario Scalas <mario.scalas () libero ! it>
Date:       2003-08-04 14:10:34
[Download RAW message or body]

Is there any reason for KDevProject methods such as 
	virtual QString projectDirectory() = 0;
	virtual QString projectName() = 0;
	virtual DomUtil::PairList runEnvironmentVars() = 0;
	virtual QString mainProgram(bool relative = false) = 0;
	virtual QString runDirectory() = 0;
	virtual QString runArguments() = 0;
	virtual QString activeDirectory() = 0;

and the like, are not declared as const?? Is there any implementation needing 
them to be non-const? At the moment I have to switch my parameters from 
"const KDevProject *" to "KDevProject *" and only because I need 
projectDirectory() ... :-/

I will fix the design issue on my own, but I don't want to break anything so 
I'm first asking on the list before I put my hands all over :-)

Cheers and happy holidays to all who have them :-)
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


_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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