summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_thebat.cxx
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmailcvt/filter_thebat.cxx
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmailcvt/filter_thebat.cxx')
-rw-r--r--kmailcvt/filter_thebat.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmailcvt/filter_thebat.cxx b/kmailcvt/filter_thebat.cxx
index 98d23cb66..b2e737dad 100644
--- a/kmailcvt/filter_thebat.cxx
+++ b/kmailcvt/filter_thebat.cxx
@@ -157,7 +157,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
// if you use readLine() to read from a file with binary data
// TQFile::at() and TQFile::atEnd() return wrong value. So we
// never get TQFile::atEnd() == true in some cases. This looks
- // like a bug in Qt3 maybe fixed in Qt4.
+ // like a bug in TQt3 maybe fixed in TQt4.
//
while((l = tbb.readBlock(input.data(),50)) ) {
if(info->shouldTerminate()) {
@@ -178,7 +178,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
}
} else {
++count;
- endOfEmail = (tbb.at() - l + _tmp.find(regexp));
+ endOfEmail = (tbb.at() - l + _tmp.tqfind(regexp));
offsets.append(endOfEmail);
}
}
@@ -213,7 +213,7 @@ void FilterTheBat::importFiles( FilterInfo *info, const TQString& FileName)
tmp.file()->writeBlock( input, endPos-lastPos );
tmp.close();
- //KMessageBox::warningContinueCancel(info->parent(), "");
+ //KMessageBox::warningContinueCancel(info->tqparent(), "");
if(info->removeDupMsg)
addMessage( info, _path, tmp.name() );
else