summaryrefslogtreecommitdiffstats
path: root/knode/knmainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knmainwidget.cpp')
-rw-r--r--knode/knmainwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knmainwidget.cpp b/knode/knmainwidget.cpp
index 5ea58757..2214cb83 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<KNRemoteArticle*> ((static_cast<KNHdrViewItem*>(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