[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: MOC Generation and #preprocessor fields
From: David Jarvie <lists () astrojar ! org ! uk>
Date: 2005-06-21 18:41:36
Message-ID: 200506211941.37230.lists () astrojar ! org ! uk
[Download RAW message or body]
On Tuesday 21 Jun 2005 10:09, Nicolas Ternisien wrote:
> Anyone has an idea ?
>
> Please ;'-)
You might get somewhere with an approach based on the following ideas. In the
header file:
#if !KDE_IS_VERSION(3,4,0)
class KAction_dummy : public KAction {
enum ActivationReason;
};
#endif
...
#if !KDE_IS_VERSION(3,4,0)
#define KAction KAction_dummy
#endif
void slotLogActions(KAction::ActivationReason, Qt::ButtonState);
#if !KDE_IS_VERSION(3,4,0)
#undef KAction
#endif
void slotLogActions(void);
...
Cheers,
David.
>> 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