On Sat, Dec 07, 2002 at 05:16:53PM +0100, Alfredo Braunstein wrote:

> When using the math panel, the following run time error appears:
> 
> --------------------------------------------------------------------------
> QObject::connect: No such signal IconPalette::button_clicked(string const&)
> QObject::connect:  (sender name:   'unnamed')
> QObject::connect:  (receiver name: 'QMathDialogBase')
> --------------------------------------------------------------------------
> 
> And inserting symbols and delimiters from the panel just does nothing.
> 
> Following indications found in lyx-devel/src/frontends/qt2/README, I've 
> changed "something const &" to "const something &" while using SLOT and 
> SIGNAL on two different files, and now works ok for me.
> 
> Trivial patch attached. Btw, is it my particular setup that gives these 
> problems, or is it general?

What Qt version ? The patch doesn't make any sense because the signal is
:

     38 signals:
     39         void button_clicked(string const &);

Can you please check moc/iconpalette_moc.C for button_clicked and show
us what the code looks like ?

Perhaps Qt does even more mangling in more recent versions.

[moan elided ;)]

regards
john
-- 
"There's only millions that lose their jobs and homes and sometimes accents
There's only millions that die in their bloody wars, it's alright
It's only their lives and the lives of their next of kin that they are losing
It's only their lives and the lives of their next of kin that they are losing."
        - Stereolab

Reply via email to