change bool to enum : KUrl

Olivier Goffart ogoffart at kde.org
Mon May 1 23:44:17 BST 2006


(Note: i resent this message because it seems the original was lost, sorry if 
you get it twice)

Hi.

So I'm trying to change function that are taking boolean argument to a QFlags 
or an enum.

egrep "\(.*bool[^*&]{2}" *.h | grep -v set | grep -v KDE_DEPRECATED 

That command give a list of function that most probably should be changed (in 
the current directory).

So i have done KUrl changes.
(path kurl.diff attached)

I've also ported the kdelibs trunk to theses changes. (not attached)
Although i don't know perl, I've tried to made some change automatic. (patch 
convert-url attached)

If no objection, I will commit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: convert-url.diff
Type: text/x-diff
Size: 558 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060502/1ff0ceb5/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kurl.diff
Type: text/x-diff
Size: 24167 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060502/1ff0ceb5/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060502/1ff0ceb5/attachment.sig>


More information about the kde-core-devel mailing list