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,7 +107,7 @@ 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 (!)

@ -11,7 +11,9 @@
class StdinReader : public TQObject class StdinReader : public TQObject
{ {
Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: 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