summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/newsticker/summarywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/newsticker/summarywidget.cpp')
-rw-r--r--kontact/plugins/newsticker/summarywidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kontact/plugins/newsticker/summarywidget.cpp b/kontact/plugins/newsticker/summarywidget.cpp
index b45f8c7bf..5283d84d8 100644
--- a/kontact/plugins/newsticker/summarywidget.cpp
+++ b/kontact/plugins/newsticker/summarywidget.cpp
@@ -140,8 +140,8 @@ void SummaryWidget::initDocuments()
connectDCOPSignal( "rssservice", feedRef.obj(), "documentUpdated(DCOPRef)",
"documentUpdated(DCOPRef)", false );
- if ( qApp )
- qApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput |
+ if ( tqApp )
+ tqApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput |
TQEventLoop::ExcludeSocketNotifiers );
}
@@ -168,8 +168,8 @@ void SummaryWidget::documentUpdated( DCOPRef feedRef )
DCOPRef artRef = feedRef.call( "article(int)", i );
TQString title, url;
- if ( qApp )
- qApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput |
+ if ( tqApp )
+ tqApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput |
TQEventLoop::ExcludeSocketNotifiers );
artRef.call( "title()" ).get( title );
@@ -220,7 +220,7 @@ void SummaryWidget::updateView()
KURLLabel *urlLabel = new KURLLabel( hbox );
urlLabel->setURL( (*it).url );
urlLabel->setPixmap( (*it).logo );
- urlLabel->setMaximumSize( urlLabel->minimumSizeHint() );
+ urlLabel->setMaximumSize( urlLabel->tqminimumSizeHint() );
mLabels.append( urlLabel );
connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ),
@@ -231,13 +231,13 @@ void SummaryWidget::updateView()
// header
TQLabel *label = new TQLabel( hbox );
label->setText( KCharsets::resolveEntities( (*it).title ) );
- label->setAlignment( AlignLeft|AlignVCenter );
+ label->tqsetAlignment( AlignLeft|AlignVCenter );
label->setFont( boldFont );
label->setIndent( 6 );
- label->setMaximumSize( label->minimumSizeHint() );
+ label->setMaximumSize( label->tqminimumSizeHint() );
mLabels.append( label );
- hbox->setMaximumWidth( hbox->minimumSizeHint().width() );
+ hbox->setMaximumWidth( hbox->tqminimumSizeHint().width() );
hbox->show();
// articles