path: ukui-panel_4.0.0.6-1.1/plugin-taskbar/window-thumbnail/mpris/player-items-model.cpp } if(role == MprisProperties::Pid) { return MprisPlayerCollecter::self()->pidofService(m_services.at(index.row())); } PlayerItem *item = MprisPlayerCollecter::self()->item(m_services.at(index.row())); path: ukui-panel_4.0.0.6-1.1/plugin-taskbar/window-thumbnail/mpris/mpris-player-collecter.h PlayerItem *item(const QString &service); QStringList playerServices(); uint pidofService(const QString &service); Q_SIGNALS: path: ukui-panel_4.0.0.6-1.1/plugin-taskbar/window-thumbnail/mpris/mpris-player-collecter.cpp } uint MprisPlayerCollecter::pidofService(const QString &service) { return d->m_playerServices.value(service);