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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kontact/plugins/newsticker/summarywidget.cpp b/kontact/plugins/newsticker/summarywidget.cpp
index 40eddd2f5..2ba0dfcfa 100644
--- a/kontact/plugins/newsticker/summarywidget.cpp
+++ b/kontact/plugins/newsticker/summarywidget.cpp
@@ -21,10 +21,10 @@
without including the source code for TQt in the source distribution.
*/
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqeventloop.h>
#include <tqhbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpixmap.h>
#include <tqpopupmenu.h>
#include <tqcursor.h>
@@ -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
@@ -300,7 +300,7 @@ void SummaryWidget::rmbMenu( const TQString& url )
menu.insertItem( i18n( "Copy URL to Clipboard" ) );
int id = menu.exec( TQCursor::pos() );
if ( id != -1 )
- kapp->clipboard()->setText( url, TQClipboard::Clipboard );
+ kapp->tqclipboard()->setText( url, TQClipboard::Clipboard );
}
bool SummaryWidget::eventFilter( TQObject *obj, TQEvent* e )