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

List:       kde-edu-devel
Subject:    [Kde-edu-devel] Re: KDE 2 vs. KDE 3 compatibility question
From:       Bernhard Rosenkraenzer <bero () redhat ! de>
Date:       2001-12-03 15:23:42
[Download RAW message or body]

On Sun, 2 Dec 2001, Jason Harris wrote:

> I have a line of code that I want to execute only if the user has KDE 3.  If 
> they have KDE 2, it should be ignored.  How do I do this?

Since KDE 3 uses Qt 3, you can simply use

#if QT_VERSION >= 300
KDE3();
#else
KDE2();
#endif

LLaP
bero

-- 
This message is provided to you under the terms outlined at
http://www.bero.org/terms.html

_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel

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

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