summaryrefslogtreecommitdiffstats
path: root/kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp')
-rw-r--r--kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp b/kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp
index 1e54d0b9..508eb74f 100644
--- a/kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp
+++ b/kword/mailmerge/kabc/KWMailMergeKABCConfig.cpp
@@ -98,9 +98,9 @@ void KWMailMergeKABCConfig::acceptSelection()
void KWMailMergeKABCConfig::addSelectedContacts()
{
TQListViewItemIterator it( _ui->mAvailableView, TQListViewItemIterator::Selected );
- TQListViewItem* selected = _ui->mSelectedView->tqfindItem(
+ TQListViewItem* selected = _ui->mSelectedView->findItem(
i18n("Single Entries"), 0, TQt::ExactMatch );
- TQListViewItem* selectedLists = _ui->mSelectedView->tqfindItem(
+ TQListViewItem* selectedLists = _ui->mSelectedView->findItem(
i18n("Distribution Lists"), 0, TQt::ExactMatch );
while ( it.current() )
{
@@ -175,7 +175,7 @@ void KWMailMergeKABCConfig::filterChanged( const TQString& txt )
}
else
{
- item->setVisible( item->text(0).tqcontains( txt, false ) );
+ item->setVisible( item->text(0).contains( txt, false ) );
}
item = item->nextSibling();
}
@@ -195,7 +195,7 @@ void KWMailMergeKABCConfig::initSelectedAddressees()
TQStringList records = _db->singleRecords();
TQListViewItem* category = _ui->mAvailableView->firstChild();
- TQListViewItem* selected = _ui->mSelectedView->tqfindItem(
+ TQListViewItem* selected = _ui->mSelectedView->findItem(
i18n("Single Entries"), 0, TQt::ExactMatch );
while ( category && (records.count()>0) )
{
@@ -239,9 +239,9 @@ void KWMailMergeKABCConfig::initSelectedLists()
kdDebug() << "::initSelectedLists()" << lists.join(",") << endl;
- TQListViewItem* l = _ui->mAvailableView->tqfindItem(
+ TQListViewItem* l = _ui->mAvailableView->findItem(
i18n("Distribution Lists"), 0, TQt::ExactMatch );
- TQListViewItem* selected = _ui->mSelectedView->tqfindItem(
+ TQListViewItem* selected = _ui->mSelectedView->findItem(
i18n("Distribution Lists"), 0, TQt::ExactMatch );
TQListViewItem* item = ( l->firstChild() );
@@ -293,7 +293,7 @@ void KWMailMergeKABCConfig::launchAddressbook() const
void KWMailMergeKABCConfig::removeContact( TQListViewItem* item )
{
TQStringList& categories = _usedCategories;
- TQListViewItem* availableLists = _ui->mAvailableView->tqfindItem(
+ TQListViewItem* availableLists = _ui->mAvailableView->findItem(
i18n("Distribution Lists"), 0, TQt::ExactMatch );
if( item->depth() > 0 )
{
@@ -306,7 +306,7 @@ void KWMailMergeKABCConfig::removeContact( TQListViewItem* item )
for ( TQStringList::Iterator itEntryCat = entryCategories.begin();
itEntryCat != entryCategories.end(); ++itEntryCat )
{
- int i = categories.tqfindIndex(*itEntryCat);
+ int i = categories.findIndex(*itEntryCat);
if( i == -1 )
{
TQListViewItem* category = new TQListViewItem( _ui->mAvailableView,
@@ -320,7 +320,7 @@ void KWMailMergeKABCConfig::removeContact( TQListViewItem* item )
{
KWMailMergeKABCConfigListItem* leftItem = new
KWMailMergeKABCConfigListItem(
- _ui->mAvailableView->tqfindItem(
+ _ui->mAvailableView->findItem(
*itEntryCat, 0,
TQt::ExactMatch),
rightItem->addressee() );
@@ -330,7 +330,7 @@ void KWMailMergeKABCConfig::removeContact( TQListViewItem* item )
{
TQString noCat = i18n("no category");
KWMailMergeKABCConfigListItem* leftItem = new KWMailMergeKABCConfigListItem(
- _ui->mAvailableView->tqfindItem(
+ _ui->mAvailableView->findItem(
noCat, 0, TQt::ExactMatch),
rightItem->addressee() );
}
@@ -381,7 +381,7 @@ void KWMailMergeKABCConfig::saveDistributionList()
}
KABC::DistributionList *distList = new KABC::DistributionList( &dlm, listName );
- TQListViewItem* newListItem = new TQListViewItem( _ui->mSelectedView->tqfindItem(
+ TQListViewItem* newListItem = new TQListViewItem( _ui->mSelectedView->findItem(
i18n("Distribution Lists"),0 , TQt::ExactMatch), listName );
TQListViewItem* category = _ui->mSelectedView->firstChild();
@@ -443,7 +443,7 @@ void KWMailMergeKABCConfig::updateAvailable()
for ( TQStringList::Iterator itCat = entryCategories.begin();
itCat != entryCategories.end(); ++itCat )
{
- int i = categories.tqfindIndex(*itCat);
+ int i = categories.findIndex(*itCat);
// Create category, if not yet in listview and append item to it.
if( i == -1 )
@@ -458,7 +458,7 @@ void KWMailMergeKABCConfig::updateAvailable()
else
{
KWMailMergeKABCConfigListItem* item = new KWMailMergeKABCConfigListItem(
- _ui->mAvailableView->tqfindItem(
+ _ui->mAvailableView->findItem(
*itCat, 0, TQt::ExactMatch),
*itAddr );
}