Switch to unified view

a/upqo/avtransport_qo.h b/upqo/avtransport_qo.h
...
...
43
          m_cursecs(-1),
43
          m_cursecs(-1),
44
          m_sent_end_of_track_sig(false),
44
          m_sent_end_of_track_sig(false),
45
          m_in_ending(false),
45
          m_in_ending(false),
46
          m_tpstate(AVTransport::Unknown)
46
          m_tpstate(AVTransport::Unknown)
47
    {
47
    {
48
        m_srv->installReporter(this);
49
        m_timer = new QTimer(this);
48
        m_timer = new QTimer(this);
50
        connect(m_timer, SIGNAL(timeout()), this, SLOT(update()));
49
        connect(m_timer, SIGNAL(timeout()), this, SLOT(update()));
51
        m_timer->start(1000);
50
        m_timer->start(1000);
52
        qRegisterMetaType<UPnPClient::UPnPDirObject>("UPnPClient::UPnPDirObject");
51
        qRegisterMetaType<UPnPClient::UPnPDirObject>("UPnPClient::UPnPDirObject");
52
        m_srv->installReporter(this);
53
    }
54
    virtual ~AVTransportQO() {
55
        m_srv->installReporter(0);
53
    }
56
    }
54
57
55
    virtual void changed(const char *nm, int value)
58
    virtual void changed(const char *nm, int value)
56
    {
59
    {
57
        if (!strcmp(nm, "CurrentTrackDuration")) {
60
        if (!strcmp(nm, "CurrentTrackDuration")) {