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

List:       kdevelop
Subject:    OT: use of Q_OBJECT macro
From:       Werner Modenbach <modenbach () alc ! de>
Date:       2001-04-24 11:07:46
[Download RAW message or body]

Hi there!

We are doing perfect with our kdevelop installation (THANKS RALF !!!).

Maybe someone can help me with a little OT question.
I have problems with the definition of 2 classes in one header file, when 
using the Q_OBJECT macro. Anything I'm doing wrong?



class Cl_Worker_setBarreninfo: public QObject {
   Q_OBJECT
public: 
	Cl_Worker_setBarreninfo(Cl_Worker * _worker);
	~Cl_Worker_setBarreninfo();
[...]
};

class Cl_Worker_setBarreninfo_undo: public Cl_UndoElement {
public:
	Cl_Worker_setBarreninfo_undo(Cl_Worker * _worker, const int _barre,
	                             const int _zulMinKG, const int _zulMaxKG, 
                                     const int _zulMaxVersatzsprung);
	virtual ~Cl_Worker_setBarreninfo_undo();

[...]
};

The compiler reclaims about syntax errors at the second class line.

- Werner -

-- 
--------------------------------------------------------------
                    ALC Computertechnik GmbH

        \_       \_          \_\_\_     Kaiserstr. 100
       \_\_      \_        \_           D-52134 Herzogenrath
      \_  \_     \_        \_           Germany
     \_\_\_\_    \_        \_           Fon +49 2407 95810
    \_      \_   \_        \_           Fax +49 2407 958139
   \_        \_  \_\_\_\_    \_\_\_     http://www.alc.de
   ===========================================================
   Werner Modenbach                     modenbach@alc.de
--------------------------------------------------------------

-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«

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

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