OT: use of Q_OBJECT macro

Werner Modenbach modenbach at alc.de
Thu Apr 26 12:28:08 UTC 2001


On Dienstag, 24. April 2001 13:07 Werner Modenbach wrote / Am Dienstag, 24. 
April 2001 13:07 schrieb Werner Modenbach:
> 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 -

SORRY !!!

Was just a real syntax error !!

- 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 at alc.de
--------------------------------------------------------------

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



More information about the KDevelop mailing list