summaryrefslogtreecommitdiffstats
path: root/kmail/searchwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmail/searchwindow.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
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
Diffstat (limited to 'kmail/searchwindow.cpp')
-rw-r--r--kmail/searchwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/searchwindow.cpp b/kmail/searchwindow.cpp
index 24d08a069..6250d761d 100644
--- a/kmail/searchwindow.cpp
+++ b/kmail/searchwindow.cpp
@@ -110,7 +110,7 @@ SearchWindow::SearchWindow(KMMainWidget* w, const char* name,
KMFolder *curFolder, bool modal):
KDialogBase(0, name, modal, i18n("Find Messages"),
User1 | User2 | Close, User1, false,
- KGuiItem( i18n("&Search"), "tqfind" ),
+ KGuiItem( i18n("&Search"), "find" ),
KStdGuiItem::stop()),
mStopped(false),
mCloseRequested(false),
@@ -494,7 +494,7 @@ void SearchWindow::slotSearch()
TQString fullName = baseName;
int count = 0;
KMFolder *folder;
- while ((folder = mgr->tqfind(fullName))) {
+ while ((folder = mgr->find(fullName))) {
if (folder->storage()->inherits("KMFolderSearch"))
break;
fullName = TQString("%1 %2").tqarg(baseName).tqarg(++count);
@@ -563,7 +563,7 @@ void SearchWindow::slotAddMsg(int idx)
KMMessage *msg = mFolder->getMsg(idx);
TQString from, fName;
KMFolder *pFolder = msg->tqparent();
- if (!mFolders.tqcontains(pFolder)) {
+ if (!mFolders.contains(pFolder)) {
mFolders.append(pFolder);
pFolder->open("searchwindow");
}
@@ -648,7 +648,7 @@ void SearchWindow::renameSearchFolder()
int i = 1;
TQString name = mSearchFolderEdt->text();
while (i < 100) {
- if (!kmkernel->searchFolderMgr()->tqfind( name )) {
+ if (!kmkernel->searchFolderMgr()->find( name )) {
mFolder->rename( name );
kmkernel->searchFolderMgr()->contentsChanged();
break;