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

List:       kde-core-devel
Subject:    KURL and QMap
From:       George Staikos <staikos () kde ! org>
Date:       2002-04-07 9:09:58
[Download RAW message or body]


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

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

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