From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/plugins/kmail/kcmkmailsummary.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kontact/plugins/kmail/kcmkmailsummary.cpp') diff --git a/kontact/plugins/kmail/kcmkmailsummary.cpp b/kontact/plugins/kmail/kcmkmailsummary.cpp index 656ffe4e9..e27254e33 100644 --- a/kontact/plugins/kmail/kcmkmailsummary.cpp +++ b/kontact/plugins/kmail/kcmkmailsummary.cpp @@ -75,7 +75,7 @@ void KCMKMailSummary::modified() void KCMKMailSummary::initGUI() { - TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); mFolderView = new KListView( this ); mFolderView->setRootIsDecorated( true ); @@ -85,8 +85,8 @@ void KCMKMailSummary::initGUI() mFullPath = new TQCheckBox( i18n( "Show full path for folders" ), this ); - layout->addWidget( mFolderView ); - layout->addWidget( mFullPath ); + tqlayout->addWidget( mFolderView ); + tqlayout->addWidget( mFullPath ); } void KCMKMailSummary::initFolders() @@ -108,7 +108,7 @@ void KCMKMailSummary::initFolders() DCOPRef folderRef = kmail.call( "getFolder(TQString)", *it ); folderRef.call( "displayName()" ).get( displayName ); } - if ( (*it).contains( '/' ) == 1 ) { + if ( (*it).tqcontains( '/' ) == 1 ) { if ( mFolderMap.find( *it ) == mFolderMap.end() ) mFolderMap.insert( *it, new TQListViewItem( mFolderView, displayName ) ); @@ -137,7 +137,7 @@ void KCMKMailSummary::loadFolders() TQMap::Iterator it; for ( it = mFolderMap.begin(); it != mFolderMap.end(); ++it ) { if ( TQCheckListItem *qli = dynamic_cast( it.data() ) ) { - if ( folders.contains( it.key() ) ) { + if ( folders.tqcontains( it.key() ) ) { qli->setOn( true ); mFolderView->ensureItemVisible( it.data() ); } else { -- cgit v1.2.1