summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/i8k
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
commit955e20356d63ed405198c8143617a8a0ca8bfc02 (patch)
tree9a9ab22c86d212a5655014ad752e96b04c0c86a9 /ksim/monitors/i8k
parentbf280726d5d22f33d33e4f9e771220c725249407 (diff)
downloadtdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz
tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
Diffstat (limited to 'ksim/monitors/i8k')
-rw-r--r--ksim/monitors/i8k/ksimi8k.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/ksim/monitors/i8k/ksimi8k.cpp b/ksim/monitors/i8k/ksimi8k.cpp
index ecff93d..c265055 100644
--- a/ksim/monitors/i8k/ksimi8k.cpp
+++ b/ksim/monitors/i8k/ksimi8k.cpp
@@ -19,10 +19,10 @@
#include "ksimi8k.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtimer.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqregexp.h>
#include <tqlabel.h>
#include <tqcheckbox.h>
@@ -151,15 +151,15 @@ void I8KView::closeStream()
void I8KView::initGUI()
{
- TQVBoxLayout *layout = new TQVBoxLayout( this );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
m_fan1Label = new KSim::Label( this );
m_fan2Label = new KSim::Label( this );
m_tempLabel = new KSim::Label( this );
- layout->addWidget( m_fan1Label );
- layout->addWidget( m_fan2Label );
- layout->addWidget( m_tempLabel );
+ tqlayout->addWidget( m_fan1Label );
+ tqlayout->addWidget( m_fan2Label );
+ tqlayout->addWidget( m_tempLabel );
}
void I8KView::updateView()
@@ -195,17 +195,17 @@ void I8KView::updateView()
}
if ( rightspeed > 0 )
- m_fan1Label->setText( i18n( "Right fan: %1 RPM" ).arg( rightspeed ) );
+ m_fan1Label->setText( i18n( "Right fan: %1 RPM" ).tqarg( rightspeed ) );
else
m_fan1Label->setText( i18n( "Right fan: Off" ) );
if ( leftspeed > 0 )
- m_fan2Label->setText( i18n( "Left fan: %1 RPM" ).arg( leftspeed ) );
+ m_fan2Label->setText( i18n( "Left fan: %1 RPM" ).tqarg( leftspeed ) );
else
m_fan2Label->setText( i18n( "Left fan: Off" ) );
- m_tempLabel->setText( i18n( "CPU temp: %1°%2" ).arg( cputemp )
- .arg( m_unit ) );
+ m_tempLabel->setText( i18n( "CPU temp: %1°%2" ).tqarg( cputemp )
+ .tqarg( m_unit ) );
}
I8KConfig::I8KConfig(KSim::PluginObject *parent, const char *name)
@@ -218,14 +218,14 @@ I8KConfig::I8KConfig(KSim::PluginObject *parent, const char *name)
m_interval->setRange( 2, 60, 1, true );
m_interval->setSuffix( i18n( " sec" ) );
- TQGridLayout *layout = new TQGridLayout( this, 3, 2, 0,
+ TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, 0,
KDialog::spacingHint() );
- layout->addMultiCellWidget( m_unit, 0, 0, 0, 1 );
- layout->addWidget( label, 1, 0 );
- layout->addWidget( m_interval, 1, 1 );
- layout->setColStretch( 1, 1 );
- layout->setRowStretch( 2, 1 );
+ tqlayout->addMultiCellWidget( m_unit, 0, 0, 0, 1 );
+ tqlayout->addWidget( label, 1, 0 );
+ tqlayout->addWidget( m_interval, 1, 1 );
+ tqlayout->setColStretch( 1, 1 );
+ tqlayout->setRowStretch( 2, 1 );
}
I8KConfig::~I8KConfig()