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 --- kaddressbook/viewmanager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kaddressbook/viewmanager.cpp') diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 5dab74e25..46eb653b5 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -133,7 +133,7 @@ KABC::Addressee::List ViewManager::selectedAddressees() const const TQStringList uids = selectedUids(); TQStringList::ConstIterator it; for ( it = uids.begin(); it != uids.end(); ++it ) { - KABC::Addressee addr = mCore->addressBook()->findByUid( *it ); + KABC::Addressee addr = mCore->addressBook()->tqfindByUid( *it ); if ( !addr.isEmpty() ) list.append( addr ); } @@ -342,7 +342,7 @@ void ViewManager::addView() // Check for name conflicts bool firstConflict = true; int numTries = 1; - while ( mViewNameList.contains( newName ) > 0 ) { + while ( mViewNameList.tqcontains( newName ) > 0 ) { if ( !firstConflict ) { newName = newName.left( newName.length() - 4 ); firstConflict = false; @@ -436,7 +436,7 @@ void ViewManager::dropped( TQDropEvent *e ) } else if ( KVCardDrag::decode( e, list ) ) { KABC::Addressee::List::ConstIterator it; for ( it = list.begin(); it != list.end(); ++it ) { - KABC::Addressee a = mCore->addressBook()->findByUid( (*it).uid() ); + KABC::Addressee a = mCore->addressBook()->tqfindByUid( (*it).uid() ); if ( a.isEmpty() ) { // not yet in address book mCore->addressBook()->insertAddressee( *it ); emit modified(); @@ -459,7 +459,7 @@ void ViewManager::startDrag() TQStringList::ConstIterator it; for ( it = uidList.begin(); it != uidList.end(); ++it ) - addrList.append( mCore->addressBook()->findByUid( *it ) ); + addrList.append( mCore->addressBook()->tqfindByUid( *it ) ); KMultipleDrag *drag = new KMultipleDrag( this ); @@ -601,9 +601,9 @@ void ViewManager::initActions() void ViewManager::initGUI() { - TQHBoxLayout *layout = new TQHBoxLayout( this ); + TQHBoxLayout *tqlayout = new TQHBoxLayout( this ); mViewWidgetStack = new TQWidgetStack( this ); - layout->addWidget( mViewWidgetStack ); + tqlayout->addWidget( mViewWidgetStack ); } #include "viewmanager.moc" -- cgit v1.2.1