KMacroExpander convience methods for kdelibs4_snapshot?

Sascha Cunz sascha.cunz at tiscali.de
Thu Sep 22 18:30:17 BST 2005


Hi,
in trunk, KMacroExpander was changed to use QHash instead of QMap. This change 
is not yet in kdelibs4_snapshot.

I'm about to convert and write lots of new code for kdevelop that will use 
KMacroExpander, and as i expect that QMap<QString,QString> will appear there 
about 75 to 100 times and i actually do not want to change that later, should 
I
- merge the change from 439322 to 457320 in the kmacroexpander.* files to
  kdelibs4_snapshot
- commit convience methods to kdelibs4_snapshot (i.e. like attached patch)
- use a "typedef QMap<QString,QString> KMacroExpanderMap;" in kdevelop
- just accept the fact, that i'll have to take 2 hours and walk over it again
  and change it
- stop using kdelibs4_snapshot totally
- something i've not yet thought of?

Cheers Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kme.patch
Type: text/x-diff
Size: 4929 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050922/0951b271/attachment.patch>


More information about the kde-core-devel mailing list