summaryrefslogtreecommitdiffstats
path: root/kmail/searchwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/searchwindow.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/searchwindow.cpp')
-rw-r--r--kmail/searchwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/searchwindow.cpp b/kmail/searchwindow.cpp
index b32dd96e0..2f4b3565d 100644
--- a/kmail/searchwindow.cpp
+++ b/kmail/searchwindow.cpp
@@ -466,7 +466,7 @@ void SearchWindow::activateFolder(KMFolder *curFolder)
//-----------------------------------------------------------------------------
void SearchWindow::slotSearch()
{
- mLastFocus = focusWidget();
+ mLastFocus = tqfocusWidget();
mBtnSearch->setFocus(); // set focus so we don't miss key event
mStopped = false;
@@ -509,12 +509,12 @@ void SearchWindow::slotSearch()
mFolder->stopSearch();
disconnect(mFolder, TQT_SIGNAL(msgAdded(int)),
this, TQT_SLOT(slotAddMsg(int)));
- disconnect(mFolder, TQT_SIGNAL(msgRemoved(KMFolder*, Q_UINT32)),
- this, TQT_SLOT(slotRemoveMsg(KMFolder*, Q_UINT32)));
+ disconnect(mFolder, TQT_SIGNAL(msgRemoved(KMFolder*, TQ_UINT32)),
+ this, TQT_SLOT(slotRemoveMsg(KMFolder*, TQ_UINT32)));
connect(mFolder, TQT_SIGNAL(msgAdded(int)),
this, TQT_SLOT(slotAddMsg(int)));
- connect(mFolder, TQT_SIGNAL(msgRemoved(KMFolder*, Q_UINT32)),
- this, TQT_SLOT(slotRemoveMsg(KMFolder*, Q_UINT32)));
+ connect(mFolder, TQT_SIGNAL(msgRemoved(KMFolder*, TQ_UINT32)),
+ this, TQT_SLOT(slotRemoveMsg(KMFolder*, TQ_UINT32)));
mSearchFolderEdt->setEnabled(false);
KMSearch *search = new KMSearch();
connect(search, TQT_SIGNAL(finished(bool)),
@@ -563,7 +563,7 @@ void SearchWindow::slotAddMsg(int idx)
KMMessage *msg = mFolder->getMsg(idx);
TQString from, fName;
KMFolder *pFolder = msg->parent();
- if (!mFolders.contains(pFolder)) {
+ if (!mFolders.tqcontains(pFolder)) {
mFolders.append(pFolder);
pFolder->open("searchwindow");
}
@@ -584,7 +584,7 @@ void SearchWindow::slotAddMsg(int idx)
mFolder->unGetMsg(idx);
}
-void SearchWindow::slotRemoveMsg(KMFolder *, Q_UINT32 serNum)
+void SearchWindow::slotRemoveMsg(KMFolder *, TQ_UINT32 serNum)
{
if (!mFolder)
return;
@@ -948,13 +948,13 @@ void SearchWindow::slotPrintMsg()
void SearchWindow::slotCopyMsgs()
{
- TQValueList<Q_UINT32> list = MessageCopyHelper::serNumListFromMsgList( selectedMessages() );
+ TQValueList<TQ_UINT32> list = MessageCopyHelper::serNumListFromMsgList( selectedMessages() );
mKMMainWidget->headers()->setCopiedMessages( list, false );
}
void SearchWindow::slotCutMsgs()
{
- TQValueList<Q_UINT32> list = MessageCopyHelper::serNumListFromMsgList( selectedMessages() );
+ TQValueList<TQ_UINT32> list = MessageCopyHelper::serNumListFromMsgList( selectedMessages() );
mKMMainWidget->headers()->setCopiedMessages( list, true );
}