summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/weather/summarywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/weather/summarywidget.cpp')
-rw-r--r--kontact/plugins/weather/summarywidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kontact/plugins/weather/summarywidget.cpp b/kontact/plugins/weather/summarywidget.cpp
index 8c1064094..abe117648 100644
--- a/kontact/plugins/weather/summarywidget.cpp
+++ b/kontact/plugins/weather/summarywidget.cpp
@@ -43,7 +43,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
DCOPObject( "WeatherSummaryWidget" ), mProc( 0 )
{
mLayout = new TQVBoxLayout( this, 3, 3 );
- mLayout->setAlignment( Qt::AlignTop );
+ mLayout->tqsetAlignment( Qt::AlignTop );
TQPixmap icon = KGlobal::iconLoader()->loadIcon( "kweather", KIcon::Desktop, KIcon::SizeMedium );
TQWidget *header = createHeader( this, icon, i18n( "Weather Service" ) );
@@ -106,16 +106,16 @@ void SummaryWidget::updateView()
TQImage img;
img = (*it).icon();
- TQGridLayout *layout = new TQGridLayout( mLayout, 3, 3, 3 );
- mLayouts.append( layout );
+ TQGridLayout *tqlayout = new TQGridLayout( mLayout, 3, 3, 3 );
+ mLayouts.append( tqlayout );
KURLLabel* urlLabel = new KURLLabel( this );
urlLabel->installEventFilter( this );
urlLabel->setURL( (*it).stationID() );
urlLabel->setPixmap( img.smoothScale( 32, 32 ) );
- urlLabel->setMaximumSize( urlLabel->sizeHint() );
- urlLabel->setAlignment( AlignTop );
- layout->addMultiCellWidget( urlLabel, 0, 1, 0, 0 );
+ urlLabel->setMaximumSize( urlLabel->tqsizeHint() );
+ urlLabel->tqsetAlignment( AlignTop );
+ tqlayout->addMultiCellWidget( urlLabel, 0, 1, 0, 0 );
mLabels.append( urlLabel );
connect ( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ),
this, TQT_SLOT( showReport( const TQString& ) ) );
@@ -125,8 +125,8 @@ void SummaryWidget::updateView()
TQFont font = label->font();
font.setBold( true );
label->setFont( font );
- label->setAlignment( AlignLeft );
- layout->addMultiCellWidget( label, 0, 0, 1, 2 );
+ label->tqsetAlignment( AlignLeft );
+ tqlayout->addMultiCellWidget( label, 0, 0, 1, 2 );
mLabels.append( label );
TQString labelText;
@@ -140,11 +140,11 @@ void SummaryWidget::updateView()
.arg( i18n( "Rel. Humidity" ) )
.arg( (*it).relativeHumidity() );
- TQToolTip::add( label, labelText.replace( " ", " " ) );
+ TQToolTip::add( label, labelText.tqreplace( " ", " " ) );
label = new TQLabel( cover, this );
- label->setAlignment( AlignLeft );
- layout->addMultiCellWidget( label, 1, 1, 1, 2 );
+ label->tqsetAlignment( AlignLeft );
+ tqlayout->addMultiCellWidget( label, 1, 1, 1, 2 );
mLabels.append( label );
}