Changes between Initial Version and Version 1 of Ticket #6422, comment 24


Ignore:
Timestamp:
Oct 19, 2011, 8:41:56 PM (9 years ago)
Author:
beirdo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6422, comment 24

    initial v1  
    11You may need to change the definition of class AppleRemote to:
    22
     3{{{
    34class AppleRemote : public QObject, public MThread
     5}}}
    46
    57The MThread rewrite makes the threads not QObject-based, but to do some of what is in that patch (with signals), you need it to inherit QObject (which should be first in the list, and requires the Q_OBJECT macro to be first in the class definition as in the patch)
     8
     9-- edit to add a code block around the class definition line