From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/knmainwidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'knode/knmainwidget.cpp') diff --git a/knode/knmainwidget.cpp b/knode/knmainwidget.cpp index 5ea58757c..2214cb836 100644 --- a/knode/knmainwidget.cpp +++ b/knode/knmainwidget.cpp @@ -484,7 +484,7 @@ void KNMainWidget::openURL(const KURL &url) } if (acc) { - bool isMID=(url.url().tqcontains('@')==1); + bool isMID=(url.url().contains('@')==1); if (!isMID) { TQString groupname=url.path(-1); @@ -678,7 +678,7 @@ void KNMainWidget::initActions() a_ctArtFilter->setShortcutConfigurable(false); a_ctArtFilterKeyb = new KAction(i18n("Filter"), Key_F6, actionCollection(), "view_Filter_Keyb"); a_ctArtFilterKeyb->plugAccel(a_ccel); - a_ctArtSearch = new KAction(i18n("&Search Articles..."),"mail_tqfind" , Key_F4 , TQT_TQOBJECT(this), + a_ctArtSearch = new KAction(i18n("&Search Articles..."),"mail_find" , Key_F4 , TQT_TQOBJECT(this), TQT_SLOT(slotArtSearch()), actionCollection(), "article_search"); a_ctArtRefreshList = new KAction(i18n("&Refresh List"),"reload", KStdAccel::shortcut(KStdAccel::Reload), TQT_TQOBJECT(this), TQT_SLOT(slotArtRefreshList()), actionCollection(), "view_Refresh"); @@ -963,7 +963,7 @@ void KNMainWidget::getSelectedThreads(KNRemoteArticle::List &l) art=static_cast ((static_cast(i))->art); // ignore the article if it is already in the list // (multiple aritcles are selected in one thread) - if ( l.tqfind(art) == l.end() ) + if ( l.find(art) == l.end() ) art->thread(l); } } @@ -1946,8 +1946,8 @@ void KNMainWidget::slotFetchArticleWithID() if (dlg->exec()) { TQString id = dlg->messageId().simplifyWhiteSpace(); - if (id.tqfind(TQRegExp("*@*",false,true))!=-1) { - if (id.tqfind(TQRegExp("<*>",false,true))==-1) // add "<>" when necessary + if (id.find(TQRegExp("*@*",false,true))!=-1) { + if (id.find(TQRegExp("<*>",false,true))==-1) // add "<>" when necessary id = TQString("<%1>").tqarg(id); if(!KNArticleWindow::raiseWindowForArticle(id.latin1())) { //article not yet opened -- cgit v1.2.1