diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
commit | ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch) | |
tree | 08ba9504290f461f1244dded6b37fc4db00847ab /kontact/plugins/weather | |
parent | d5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff) | |
download | tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kontact/plugins/weather')
-rw-r--r-- | kontact/plugins/weather/summarywidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kontact/plugins/weather/summarywidget.cpp b/kontact/plugins/weather/summarywidget.cpp index bf7624e4b..fb8bd9510 100644 --- a/kontact/plugins/weather/summarywidget.cpp +++ b/kontact/plugins/weather/summarywidget.cpp @@ -106,8 +106,8 @@ void SummaryWidget::updateView() TQImage img; img = (*it).icon(); - TQGridLayout *tqlayout = new TQGridLayout( mLayout, 3, 3, 3 ); - mLayouts.append( tqlayout ); + TQGridLayout *layout = new TQGridLayout( mLayout, 3, 3, 3 ); + mLayouts.append( layout ); KURLLabel* urlLabel = new KURLLabel( this ); urlLabel->installEventFilter( this ); @@ -115,7 +115,7 @@ void SummaryWidget::updateView() urlLabel->setPixmap( img.smoothScale( 32, 32 ) ); urlLabel->setMaximumSize( urlLabel->sizeHint() ); urlLabel->setAlignment( AlignTop ); - tqlayout->addMultiCellWidget( urlLabel, 0, 1, 0, 0 ); + layout->addMultiCellWidget( urlLabel, 0, 1, 0, 0 ); mLabels.append( urlLabel ); connect ( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), this, TQT_SLOT( showReport( const TQString& ) ) ); @@ -126,7 +126,7 @@ void SummaryWidget::updateView() font.setBold( true ); label->setFont( font ); label->setAlignment( AlignLeft ); - tqlayout->addMultiCellWidget( label, 0, 0, 1, 2 ); + layout->addMultiCellWidget( label, 0, 0, 1, 2 ); mLabels.append( label ); TQString labelText; @@ -144,7 +144,7 @@ void SummaryWidget::updateView() label = new TQLabel( cover, this ); label->setAlignment( AlignLeft ); - tqlayout->addMultiCellWidget( label, 1, 1, 1, 2 ); + layout->addMultiCellWidget( label, 1, 1, 1, 2 ); mLabels.append( label ); } |