Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | How about applying the patch until this is done with a big "REMOVE THIS" ? | No, I don't think so especially since it so easy to do the right thing. I'll have a look at this asap... (or please beat me to it...) Lgb

[PATCH] KDE workaround

2000-08-14 Thread John Levon
I need the patch below to compile a KDE frontend version (along with the others coming your way). For some reason Qt-1.44 headers #define emit. I don't see why, as moc should be dealing with files using signals/slots anyway shouldn't it ? Anyway, I'd like someone to comment on whether this is an

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | I need the patch below to compile a KDE frontend version (along with the | others coming your way). For some reason Qt-1.44 headers #define emit. I | don't see why, as moc should be dealing with files using signals/slots | anyway shouldn't it ? | | Anyway,

Re: [PATCH] KDE workaround

2000-08-14 Thread John Levon
On 14 Aug 2000, Lars Gullik Bjønnes wrote: John Levon [EMAIL PROTECTED] writes: | I need the patch below to compile a KDE frontend version (along with the | others coming your way). For some reason Qt-1.44 headers #define emit. I | don't see why, as moc should be dealing with files using

RE: [PATCH] KDE workaround

2000-08-14 Thread Juergen Vigna
+#include config.h + +/* ugly hack to prevent Qt's '#define emit ...' from + * screwing us up below - jbl 2000/8/10 + */ +#ifdef KDEGUI +#undef emit +#endif + I will commit this as it seems this is needed because of the clash of Timeout::emit and Qt::emit. We could also rename

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | This sould at least be taken care of _in_ the kde frontend files, not | in the rest of LyX. | | Lgb | | | I don't understand how I might do this. | | To clarify, the problem is lyx_gui.C includes kapp.h, which at some point | includes the

Re: [PATCH] KDE workaround

2000-08-14 Thread John Levon
On 14 Aug 2000, Lars Gullik Bjønnes wrote: Yes this is what we want. We may not be able to do it yet, but eventually this is how it should/will be. Lgb OK this makes sense. How about applying the patch until this is done with a big "REMOVE THIS" ? I would have a go at moving

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
Juergen Vigna [EMAIL PROTECTED] writes: | | +#include config.h | + | +/* ugly hack to prevent Qt's '#define emit ...' from | + * screwing us up below - jbl 2000/8/10 | + */ | +#ifdef KDEGUI | +#undef emit | +#endif | + | | I will commit this as it seems this is needed because of

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | How about applying the patch until this is done with a big "REMOVE THIS" ? | No, I don't think so especially since it so easy to do the right thing. I'll have a look at this asap... (or please beat me to it...) Lgb

[PATCH] KDE workaround

2000-08-14 Thread John Levon
I need the patch below to compile a KDE frontend version (along with the others coming your way). For some reason Qt-1.44 headers #define emit. I don't see why, as moc should be dealing with files using signals/slots anyway shouldn't it ? Anyway, I'd like someone to comment on whether this is an

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | I need the patch below to compile a KDE frontend version (along with the | others coming your way). For some reason Qt-1.44 headers #define emit. I | don't see why, as moc should be dealing with files using signals/slots | anyway shouldn't it ? | |

Re: [PATCH] KDE workaround

2000-08-14 Thread John Levon
On 14 Aug 2000, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | I need the patch below to compile a KDE frontend version (along with the > | others coming your way). For some reason Qt-1.44 headers #define emit. I > | don't see why, as moc should be dealing with files

RE: [PATCH] KDE workaround

2000-08-14 Thread Juergen Vigna
> > +#include > + > +/* ugly hack to prevent Qt's '#define emit ...' from > + * screwing us up below - jbl 2000/8/10 > + */ > +#ifdef KDEGUI > +#undef emit > +#endif > + I will commit this as it seems this is needed because of the clash of Timeout::emit and Qt::emit. We could also rename

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | > This sould at least be taken care of _in_ the kde frontend files, not | > in the rest of LyX. | > | > Lgb | > | | I don't understand how I might do this. | | To clarify, the problem is lyx_gui.C includes kapp.h, which at some point |

Re: [PATCH] KDE workaround

2000-08-14 Thread John Levon
On 14 Aug 2000, Lars Gullik Bjønnes wrote: > Yes this is what we want. We may not be able to do it yet, but > eventually this is how it should/will be. > > Lgb > OK this makes sense. How about applying the patch until this is done with a big "REMOVE THIS" ? I would have a go at

Re: [PATCH] KDE workaround

2000-08-14 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | > | > +#include | > + | > +/* ugly hack to prevent Qt's '#define emit ...' from | > + * screwing us up below - jbl 2000/8/10 | > + */ | > +#ifdef KDEGUI | > +#undef emit | > +#endif | > + | | I will commit this as it seems this is needed