| 90 | } |
| 91 | |
| 92 | class Id |
| 93 | { |
| 94 | public: |
| 95 | explicit Id(int threadId, int jobId) |
| 96 | : threadId { threadId }, jobId { jobId } { } |
| 97 | |
| 98 | QString toString() const { return QStringLiteral("[%1.%2]").arg(threadId).arg(jobId); } |
| 99 | |
| 100 | private: |
| 101 | const int threadId; |
| 102 | const int jobId; |
| 103 | }; |
| 104 | |
| 105 | QDebug operator<<(QDebug debug, Id id) |
| 106 | { |