|
|
@ -27,7 +27,7 @@
|
|
|
|
#include <GL/glu.h> //included for convenience
|
|
|
|
#include <GL/glu.h> //included for convenience
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
//#else
|
|
|
|
//#else
|
|
|
|
////this is a workaround for compile problems due to tqmoc
|
|
|
|
////this is a workaround for compile problems due to moc
|
|
|
|
//#define TQGLWidget TQWidget
|
|
|
|
//#define TQGLWidget TQWidget
|
|
|
|
//#endif
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
|
|
|
@ -106,12 +106,12 @@ private:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//This mess is because tqmoc generates an entry for this class despite the #if block
|
|
|
|
//This mess is because moc generates an entry for this class despite the #if block
|
|
|
|
//1. the Q_OBJECT macro must be exposed
|
|
|
|
//1. the Q_OBJECT macro must be exposed
|
|
|
|
//2. we have to define the class
|
|
|
|
//2. we have to define the class
|
|
|
|
//3. we have to declare a ctor (to satisfy the inheritance)
|
|
|
|
//3. we have to declare a ctor (to satisfy the inheritance)
|
|
|
|
//4. the slot must also by visible (!)
|
|
|
|
//4. the slot must also by visible (!)
|
|
|
|
//TODO find out how to stop tqmoc generating a metaobject for this class
|
|
|
|
//TODO find out how to stop moc generating a metaobject for this class
|
|
|
|
class Base3D : public Base<TQGLWidget>
|
|
|
|
class Base3D : public Base<TQGLWidget>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|