Fix missing Q_OBJECT macros

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1245170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ebc14f270e
commit 54e817557b

@ -107,14 +107,14 @@ private:
//This mess is because tqmoc generates an entry for this class despite the #if block //This mess is because tqmoc generates an entry for this class despite the #if block
//1. the TQ_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 tqmoc generating a metaobject for this class
class Base3D : public Base<TQGLWidget> class Base3D : public Base<TQGLWidget>
{ {
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
#ifdef HAVE_TQGLWIDGET #ifdef HAVE_TQGLWIDGET
protected: protected:

@ -11,8 +11,10 @@
class StdinReader : public TQObject class StdinReader : public TQObject
{ {
TQ_OBJECT Q_OBJECT
public: TQ_OBJECT
public:
StdinReader(TQObject * tqparent = 0, const char * name = 0) StdinReader(TQObject * tqparent = 0, const char * name = 0)
:TQObject(tqparent,name) :TQObject(tqparent,name)
{ {

@ -76,7 +76,7 @@
*/ */
/// This class is because tqmoc "is really good" (no nested TQ_OBJECT classes) /// This class is because tqmoc "is really good" (no nested Q_OBJECT classes)
class JobBase : public TQObject { class JobBase : public TQObject {
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT

Loading…
Cancel
Save