diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/recipientspicker.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() |