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

List:       kde-devel
Subject:    kde version in #define
From:       "Toan T Nguyen" <ntt () physics ! ucla ! edu>
Date:       2005-09-01 20:47:36
Message-ID: 44796.169.232.179.14.1125607656.squirrel () 169 ! 232 ! 179 ! 14
[Download RAW message or body]


Hello,

My KDE program uses setProgramLogo() method which is available
on KDE >= 3.4 only. So it cannot be compiled on KDE 3.3 desktop. I want to
add a #ifdef in my program to check for KDE version. Something like this:

#ifdef KDEVERSION >= 3.4.0
    setProgramLogo();
#endif

Does anybody knows how to do this ? Thank you very much,

TOan

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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