diff options
Diffstat (limited to 'kaddressbook/viewmanager.cpp')
-rw-r--r-- | kaddressbook/viewmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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" |