KURL and QMap

George Staikos staikos at kde.org
Sun Apr 7 10:09:58 BST 2002


Is there any reason why KURL doesn't using a QMap for the query?  It seems 
like that would be the natural data structure to store the query in.  It 
would make it very easy to manipulate URLs if this were the case.  (Simply 
get a reference to the Map and add/remove/manipulate as needed)

Alternatively, would it make sense for me to add methods:

addToQuery(name,value);
removeFromQuery(name);
modifyInQuery(name,newvalue);

It saves writing loops everywhere, and it seems obvious that this would be one 
of the great advantages of KURL (actually using a Map would be).

-- 

George Staikos





More information about the kde-core-devel mailing list