diff options
Diffstat (limited to 'kontact/plugins/kmail')
-rw-r--r-- | kontact/plugins/kmail/kmail_plugin.cpp | 2 | ||||
-rw-r--r-- | kontact/plugins/kmail/summarywidget.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp index aa1e205ad..79d2ee90c 100644 --- a/kontact/plugins/kmail/kmail_plugin.cpp +++ b/kontact/plugins/kmail/kmail_plugin.cpp @@ -83,7 +83,7 @@ bool KMailPlugin::canDecodeDrag( TQMimeSource *qms ) void KMailPlugin::processDropEvent( TQDropEvent * de ) { kdDebug() << k_funcinfo << endl; - CalendarLocal cal( TQString::tqfromLatin1("UTC") ); + CalendarLocal cal( TQString::fromLatin1("UTC") ); KABC::Addressee::List list; if ( VCalDrag::decode( de, &cal ) || ICalDrag::decode( de, &cal ) ) { diff --git a/kontact/plugins/kmail/summarywidget.cpp b/kontact/plugins/kmail/summarywidget.cpp index 195d853a3..3a0b16591 100644 --- a/kontact/plugins/kmail/summarywidget.cpp +++ b/kontact/plugins/kmail/summarywidget.cpp @@ -132,7 +132,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders ) KURLLabel *urlLabel = new KURLLabel( *it, folderPath, this ); urlLabel->installEventFilter( this ); - urlLabel->tqsetAlignment( AlignLeft ); + urlLabel->setAlignment( AlignLeft ); urlLabel->show(); connect( urlLabel, TQT_SIGNAL( leftClickedURL( const TQString& ) ), TQT_SLOT( selectFolder( const TQString& ) ) ); @@ -143,7 +143,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders ) new TQLabel( TQString( i18n("%1: number of unread messages " "%2: total number of messages", "%1 / %2") ) .tqarg( numUnreadMsg ).tqarg( numMsg ), this ); - label->tqsetAlignment( AlignLeft ); + label->setAlignment( AlignLeft ); label->show(); mLayout->addWidget( label, counter, 2 ); mLabels.append( label ); @@ -154,7 +154,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders ) if ( counter == 0 ) { TQLabel *label = new TQLabel( i18n( "No unread messages in your monitored folders" ), this ); - label->tqsetAlignment( AlignHCenter | AlignVCenter ); + label->setAlignment( AlignHCenter | AlignVCenter ); mLayout->addMultiCellWidget( label, 0, 0, 0, 2 ); label->show(); mLabels.append( label ); |