summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:46 -0600
commitcff40e79adc61fc83827b2d1c1221f1fb4c0ab74 (patch)
tree8a006648cd645f005141731d7931188e45a53374 /ksim
parent3c87ec12c23bf62d3f60a7dd64020af8e0b997ce (diff)
downloadtdeutils-cff40e79adc61fc83827b2d1c1221f1fb4c0ab74.tar.gz
tdeutils-cff40e79adc61fc83827b2d1c1221f1fb4c0ab74.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'ksim')
-rw-r--r--ksim/monitors/lm_sensors/sensorbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksim/monitors/lm_sensors/sensorbase.cpp b/ksim/monitors/lm_sensors/sensorbase.cpp
index df4c6a4..7851509 100644
--- a/ksim/monitors/lm_sensors/sensorbase.cpp
+++ b/ksim/monitors/lm_sensors/sensorbase.cpp
@@ -72,7 +72,7 @@ SensorBase::SensorBase() : TQObject()
{
int eventBase;
int errorBase;
- m_hasNVControl = XNVCTRLQueryExtension(qt_xdisplay(), &eventBase, &errorBase) == True;
+ m_hasNVControl = XNVCTRLQueryExtension(tqt_xdisplay(), &eventBase, &errorBase) == True;
}
m_updateTimer = new TQTimer(this);
@@ -133,13 +133,13 @@ void SensorBase::update()
if (m_hasNVControl) {
int temp = 0;
- if (XNVCTRLQueryAttribute(qt_xdisplay(), qt_xscreen(), 0 /* not used? */, NV_CTRL_GPU_CORE_TEMPERATURE, &temp)) {
+ if (XNVCTRLQueryAttribute(tqt_xdisplay(), tqt_xscreen(), 0 /* not used? */, NV_CTRL_GPU_CORE_TEMPERATURE, &temp)) {
TQString name = TQString::fromLatin1("GPU Temp");
m_sensorList.append(SensorInfo(currentSensor++, TQString::number(temp),
name, TQString(), TQString(), sensorType(name)));
}
- if (XNVCTRLQueryAttribute(qt_xdisplay(), qt_xscreen(), 0 /* not used? */, NV_CTRL_AMBIENT_TEMPERATURE, &temp)) {
+ if (XNVCTRLQueryAttribute(tqt_xdisplay(), tqt_xscreen(), 0 /* not used? */, NV_CTRL_AMBIENT_TEMPERATURE, &temp)) {
TQString name = TQString::fromLatin1("GPU Ambient Temp");
m_sensorList.append(SensorInfo(currentSensor++, TQString::number(temp),
name, TQString(), TQString(), sensorType(name)));