diff options
Diffstat (limited to 'src/modules/reguser/dialog.cpp')
-rw-r--r-- | src/modules/reguser/dialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/reguser/dialog.cpp b/src/modules/reguser/dialog.cpp index 1f816ed4..c6a5f70a 100644 --- a/src/modules/reguser/dialog.cpp +++ b/src/modules/reguser/dialog.cpp @@ -347,7 +347,7 @@ void KviRegisteredUsersDialog::itemPressed(KviTalListViewItem *it,const TQPoint for(KviIrcMask * m = i->user()->maskList()->first();m;m = i->user()->maskList()->next()) { TQString tmp = m->nick(); - if((tmp.tqfind('*') == -1) && (tmp.tqfind('?') == -1) && (!tmp.isEmpty())) + if((tmp.find('*') == -1) && (tmp.find('?') == -1) && (!tmp.isEmpty())) { if(!szMask.isEmpty())szMask.append(' '); szMask.append(tmp); @@ -355,10 +355,10 @@ void KviRegisteredUsersDialog::itemPressed(KviTalListViewItem *it,const TQPoint } // if the nickname list is still empty , build a dummy nick to notify szMask = i->user()->name(); - szMask.tqreplace(" ",""); - szMask.tqreplace("'",""); - szMask.tqreplace("&",""); - szMask.tqreplace(",",""); + szMask.replace(" ",""); + szMask.replace("'",""); + szMask.replace("&",""); + szMask.replace(",",""); i->user()->setProperty("notify",szMask); } @@ -433,7 +433,7 @@ void KviRegisteredUsersDialog::listViewRightButtonClicked ( KviTalListViewItem * for(KviPointerHashTableEntry<TQString,KviRegisteredUserGroup> * g = pGroups->firstEntry();g;g = pGroups->nextEntry()) { int id=groups->insertItem(g->key()); - m_TmpDict.tqreplace(id,g->data()); + m_TmpDict.replace(id,g->data()); } connect(groups,TQT_SIGNAL(activated ( int )),this,TQT_SLOT(moveToGroupMenuClicked(int))); @@ -447,7 +447,7 @@ void KviRegisteredUsersDialog::listViewRightButtonClicked ( KviTalListViewItem * void KviRegisteredUsersDialog::moveToGroupMenuClicked(int id) { - TQString szGroup=m_TmpDict.tqfind(id)->name(); + TQString szGroup=m_TmpDict.find(id)->name(); KviTalListViewItemIterator it( m_pListView, KviTalListViewItemIterator::Selected ); while ( it.current() ) { KviRegisteredUsersDialogItemBase* b=(KviRegisteredUsersDialogItemBase*)(it.current()); @@ -481,10 +481,10 @@ void KviRegisteredUsersDialog::fillList() { if(u->group().isEmpty()) u->setGroup(__tr("Default")); - if(groupItems.tqfind(u->group())) - item = new KviRegisteredUsersDialogItem(groupItems.tqfind(u->group()),u); - else if(groupItems.tqfind(__tr("Default"))) - item = new KviRegisteredUsersDialogItem(groupItems.tqfind(__tr("Default")),u); + if(groupItems.find(u->group())) + item = new KviRegisteredUsersDialogItem(groupItems.find(u->group()),u); + else if(groupItems.find(__tr("Default"))) + item = new KviRegisteredUsersDialogItem(groupItems.find(__tr("Default")),u); else { //should never be called KviRegisteredUserGroup* pGroup = g_pLocalRegisteredUserDataBase->addGroup(__tr("Default")); KviRegisteredUsersGroupItem* pCur = new KviRegisteredUsersGroupItem(m_pListView,pGroup); |