summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/SensorDisplay.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/SensorDisplay.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
index c80ad65ee..a2bc6bb7a 100644
--- a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
+++ b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
@@ -66,7 +66,7 @@ SensorDisplay::SensorDisplay( TQWidget *parent, const char *name,
if(!nf) {
mFrame = new TQGroupBox( 2, Qt::Vertical, "", this, "displayFrame");
mFrame->setFlat(true);
- mFrame->setAlignment(Qt::AlignHCenter);
+ mFrame->tqsetAlignment(Qt::AlignHCenter);
mFrame->setInsideMargin(2);
setTitle( title );
@@ -124,7 +124,7 @@ void SensorDisplay::configureUpdateInterval()
if ( dlg.useGlobalUpdate() ) {
mUseGlobalUpdateInterval = true;
- SensorBoard* sb = dynamic_cast<SensorBoard*>( parentWidget() );
+ SensorBoard* sb = dynamic_cast<SensorBoard*>( tqparentWidget() );
if ( !sb ) {
kdDebug(1215) << "dynamic cast lacks" << endl;
setUpdateInterval( 2 );
@@ -247,7 +247,7 @@ void SensorDisplay::updateWhatsThis()
void SensorDisplay::hosts( TQStringList& list )
{
for ( SensorProperties *s = mSensors.first(); s; s = mSensors.next() )
- if ( !list.contains( s->hostName() ) )
+ if ( !list.tqcontains( s->hostName() ) )
list.append( s->hostName() );
}
@@ -344,7 +344,7 @@ bool SensorDisplay::restoreSettings( TQDomElement &element )
} else {
mUseGlobalUpdateInterval = true;
- SensorBoard* sb = dynamic_cast<SensorBoard*>( parentWidget() );
+ SensorBoard* sb = dynamic_cast<SensorBoard*>( tqparentWidget() );
if ( !sb ) {
kdDebug(1215) << "dynamic cast lacks" << endl;
setUpdateInterval( 2 );
@@ -447,8 +447,8 @@ void SensorDisplay::setSensorOk( bool ok )
mErrorIndicator = new TQWidget( mPlotterWdg );
mErrorIndicator->setErasePixmap( errorIcon );
mErrorIndicator->resize( errorIcon.size() );
- if ( errorIcon.mask() )
- mErrorIndicator->setMask( *errorIcon.mask() );
+ if ( errorIcon.tqmask() )
+ mErrorIndicator->setMask( *errorIcon.tqmask() );
mErrorIndicator->move( 0, 0 );
mErrorIndicator->show();
}
@@ -463,7 +463,7 @@ void SensorDisplay::setTitle( const TQString &title )
}
/* Changing the frame title may increase the width of the frame and
- * hence breaks the layout. To avoid this, we save the original size
+ * hence breaks the tqlayout. To avoid this, we save the original size
* and restore it after we have set the frame title. */
TQSize s = mFrame->size();