FW: Small KDevelop File Group part patch

GEHRMANN BERND BERND.GEHRMANN at gruppotc.com
Tue Oct 7 17:04:03 UTC 2003



-----Original Message-----
From: Mihnea Balta [mailto:mihnea.balta at digitalsummoners.ro]
Sent: martedi, 7. ottobre 2003 15:35
To: bernd at kdevelop.org
Subject: Small KDevelop File Group part patch


	Hello,

	I've written a small patch for the File Group part of KDevelop
to address two 
issues:
	a) the part was matching the file group pattern agains the file
NAME, which 
prevented me from using patterns like "*ClientServer/*.h" for
"ClientServer 
Headers". I just changed FileViewFolderItem::matches() to check with the
file 
path instead of file name.
	b) I changed the context menu for the Group item so that it now
contains CVS 
options. I made it use a FileContext context and fill it with all the
files 
that the goup contains.
	All my code is enclosed in "/* Dark begins */" -> "/* Dark ends
*/". Please 
consider incorporating these changes into KDevelop, so I can use further

versions of it with my project. 
	Thank you for your time.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: filegroupswidget.cpp
Type: text/x-c++src
Size: 10597 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20031007/d8f7a35f/attachment.cpp>


More information about the KDevelop-devel mailing list