Due to the recent fiasco with needing to change from qint32 to qint64 for threadID, it became painfully obvious that I ought to have avoided hard-coding from the beginning. This patch solves that problem.
Unfortunately, this patch cannot build due to qtdbuscpp2xml not understanding typedef threadID qint64;. We either need some way to manually add this information, or the Qt tool to be updated to understand typedef on dbus-compatible types.