summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/kmail/summarywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/kmail/summarywidget.cpp')
-rw-r--r--kontact/plugins/kmail/summarywidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/kmail/summarywidget.cpp b/kontact/plugins/kmail/summarywidget.cpp
index 43c1e2cb..92023570 100644
--- a/kontact/plugins/kmail/summarywidget.cpp
+++ b/kontact/plugins/kmail/summarywidget.cpp
@@ -117,7 +117,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders )
TQStringList::ConstIterator it;
DCOPRef kmail( "kmail", "KMailIface" );
for ( it = folders.begin(); it != folders.end(); ++it ) {
- if ( activeFolders.contains( *it ) ) {
+ if ( activeFolders.tqcontains( *it ) ) {
DCOPRef folderRef = kmail.call( "getFolder(TQString)", *it );
const int numMsg = folderRef.call( "messages()" );
const int numUnreadMsg = folderRef.call( "unreadMessages()" );
@@ -132,7 +132,7 @@ void SummaryWidget::updateFolderList( const TQStringList& folders )
KURLLabel *urlLabel = new KURLLabel( *it, folderPath, this );
urlLabel->installEventFilter( this );
- urlLabel->setAlignment( AlignLeft );
+ urlLabel->tqsetAlignment( 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") )
.arg( numUnreadMsg ).arg( numMsg ), this );
- label->setAlignment( AlignLeft );
+ label->tqsetAlignment( 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->setAlignment( AlignHCenter | AlignVCenter );
+ label->tqsetAlignment( AlignHCenter | AlignVCenter );
mLayout->addMultiCellWidget( label, 0, 0, 0, 2 );
label->show();
mLabels.append( label );