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

List:       pykde
Subject:    Re: [PyKDE] PyKDE-3.3.2-2 build problems on stock Red Hat 7.3 sy
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2002-08-28 12:20:36
[Download RAW message or body]

On 28-Aug-02 Jonathan Gardner wrote:

> %If ( KDE_3_0_1 - )

 "if KDE_VERSION >= 301"

> enum CacheControl
> {
>       CC_CacheOnly,
>       CC_Cache,
>       CC_Verify,
>       CC_Refresh,
>       CC_Reload
> };
> %End

 
> %If ( KDE_2_2_0 - KDE_3_0_1 )

  "if KDE_VERSION >= 220 and KDE_VERSION < 301"

> enum CacheControl
> {
>     CC_CacheOnly,
>     CC_Cache,
>     CC_Verify,
>     CC_Reload
> };
> %End
> 
> Which block of code is used if I am running KDE_3_0_1?

It's '>=' on the lower (left) limit and '<' on the upper (right)
limit. Legal version values are defined in a %Timeline
statement included somewhere in the sip files (dcop.sip for PyKDE).
"Platform" conditionals (more in Qt) are "=" only (for example,
WS_X11 or WS_WIN)


Jim

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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