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

List:       kde-core-devel
Subject:    Re: Extensions to the HTTP slave.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-06-29 21:00:30
[Download RAW message or body]

On Thu, 29 Jun 2000, David Faure wrote:
> On Thu, Jun 29, 2000 at 02:44:02PM -0700, Waldo Bastian wrote:
>
> [Good stuff snipped :) ]
>
> > A convenient way to represent the metaData would be a "QMap<QString,
> > QString>".
>
> Interesting... in kparts/khtml/.. (see KParts::Factory::createPart), the
> solution that was decided for (to pass arguments to a part) is a simple
> QStringList, where each string is arg="value". But that's very HTML like,
> maybe not what you want here.

A QMap basically does the same, only it's easier to lookup. (No parsing 
involved)

> > The metaData could also be used as replacement for the current "reload"
> > flag.
>
> Hmm, I'd rather leave it as a bool, makes it easier to handle.
> (Including in case other protocols implement a cache...)

It would be something like this in konqueror: setMetadata("reload", "true")
and in the slave: bool reload = (metadata("reload") == "true");

Cheers,
Waldo
-- 
Make way, KDE/Linux is coming to a desktop near you!

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

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