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

List:       kde-core-devel
Subject:    Re: [PATCH] Fix KMail mailto url handling / new KURL method
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2002-12-21 20:33:36
[Download RAW message or body]

On Sat, Dec 21, 2002 at 06:07:13PM +0100, Marc Mutz wrote:
> Hi!
> 
> I've attached two patches. One for kdecore/kurl.* implementing
>   QMap< QString, QString >
>   KURL::queryItems(bool caseInsensitiveKeys=false) const;
> and the second for fixing mailto URL handling in KMMailtoComposeCommand 
> and KMUrlClickedCommand.
> 
> The details:
> - kdecore:
>   - KURL has a new method queryItems that returns the query parsed into
>     key/value pairs, optionally normalizing the keys to lowercase.

(/me pulls out Ettrichs' bool-is-not-very-nice-as-method-parameter chapter)

How about

   url.queryItems( KURL::CaseInsensitiveKeys );

and

   url.queryItems( KURL::CaseSensitiveKeys );

instead?

(just a thought)

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

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