John Levon <[EMAIL PROTECTED]> writes:

| 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.

moc does not understand C++...

const Type & is ok, Type const & is not. Worse is that this can lead
to silent errors. (or so I have been told.)

Anyway, I'd really like to see the actual problems that you got.

-- 
        Lgb

Reply via email to