diff options
Diffstat (limited to 'kmail/recipientspicker.cpp')
-rw-r--r-- | kmail/recipientspicker.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/recipientspicker.cpp b/kmail/recipientspicker.cpp index a45a76830..38b00d14b 100644 --- a/kmail/recipientspicker.cpp +++ b/kmail/recipientspicker.cpp @@ -227,9 +227,9 @@ RecipientItem *RecipientViewItem::recipientItem() const } -RecipientsListToolTip::RecipientsListToolTip( TQWidget *parent, +RecipientsListToolTip::RecipientsListToolTip( TQWidget *tqparent, KListView *listView ) - : TQToolTip( parent ) + : TQToolTip( tqparent ) { mListView = listView; } @@ -294,13 +294,13 @@ RecipientItem::List RecipientsCollection::items() const bool RecipientsCollection::hasEquivalentItem( RecipientItem *item ) const { - return mKeyMap.find( item->key() ) != mKeyMap.end(); + return mKeyMap.tqfind( item->key() ) != mKeyMap.end(); } RecipientItem * RecipientsCollection::getEquivalentItem( RecipientItem *item) const { TQMap<TQString, RecipientItem *>::ConstIterator it; - it = mKeyMap.find( item->key() ); + it = mKeyMap.tqfind( item->key() ); if ( it == mKeyMap.end() ) return 0; return (*it); @@ -327,8 +327,8 @@ TQString RecipientsCollection::id() const return mId; } -SearchLine::SearchLine( TQWidget *parent, KListView *listView ) - : KListViewSearchLine( parent, listView ) +SearchLine::SearchLine( TQWidget *tqparent, KListView *listView ) + : KListViewSearchLine( tqparent, listView ) { } @@ -340,14 +340,14 @@ void SearchLine::keyPressEvent( TQKeyEvent *ev ) } -RecipientsPicker::RecipientsPicker( TQWidget *parent ) - : TQDialog( parent, "RecipientsPicker" ) +RecipientsPicker::RecipientsPicker( TQWidget *tqparent ) + : TQDialog( tqparent, "RecipientsPicker" ) #ifndef KDEPIM_NEW_DISTRLISTS , mDistributionListManager( 0 ) #endif ,mLdapSearchDialog( 0 ) { -// KWin::setType( winId(), NET::Dock ); +// KWin::setType( winId(), NET::TQt::Dock ); setCaption( i18n("Select Recipient") ); @@ -505,7 +505,7 @@ void RecipientsPicker::insertAddressBook( KABC::AddressBook *addressbook ) item->setAddressee( *it, *it3 ); TQMap<KABC::Resource *,RecipientsCollection *>::ConstIterator collIt; - collIt = collectionMap.find( it->resource() ); + collIt = collectionMap.tqfind( it->resource() ); if ( collIt != collectionMap.end() ) { (*collIt)->addItem( item ); } @@ -514,7 +514,7 @@ void RecipientsPicker::insertAddressBook( KABC::AddressBook *addressbook ) TQStringList::ConstIterator catIt; for( catIt = categories.begin(); catIt != categories.end(); ++catIt ) { TQMap<TQString, RecipientsCollection *>::ConstIterator catMapIt; - catMapIt = categoryMap.find( *catIt ); + catMapIt = categoryMap.tqfind( *catIt ); RecipientsCollection *collection; if ( catMapIt == categoryMap.end() ) { collection = new RecipientsCollection( *catIt ); @@ -838,7 +838,7 @@ void RecipientsPicker::setFocusList() void RecipientsPicker::resetSearch() { - mSearchLine->setText( TQString::null ); + mSearchLine->setText( TQString() ); } void RecipientsPicker::slotSearchLDAP() |