[Interest] Qt Sensors, can it support CPU, GPU and HDD sensors as well?

Mark markg85 at gmail.com
Tue May 14 18:24:33 CEST 2013


On Tue, May 14, 2013 at 3:37 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> On terça-feira, 14 de maio de 2013 10.54.46, Mark wrote:
>> Can the Qt Sensor package add support for that?
>
> I think so.

But how since the base class is obviously a little too focused on
other types of sensors.. Or would there simply be a second base class
for "heat" based sensors? So i guess the base would be QHeatSensor.
Then for the actual sensors it would look somewhat like:
QCpuSensor : public QHeatSensor
QGpuSensor : public QHeatSensor
...

But then you still have other sensors. Last one that comes to mind is
fan speed. A CPU also has a fan speed sensor so how would that work?
Another base for speed control "QFanSpeed" which is then also
inherited by the QCpuSensor? It would look like this:
QCpuSensor : public QHeatSensor, public QFanSpeed

Are there any plans to implement any of this (thread subject)?



More information about the Interest mailing list