From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- kmailcvt/filter_mbox.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmailcvt/filter_mbox.cxx') diff --git a/kmailcvt/filter_mbox.cxx b/kmailcvt/filter_mbox.cxx index 61f31339..0a7b08ff 100644 --- a/kmailcvt/filter_mbox.cxx +++ b/kmailcvt/filter_mbox.cxx @@ -45,7 +45,7 @@ void FilterMBox::import(FilterInfo *info) int overall_status = 0; bool first_msg = true; - TQStringList filenames = KFileDialog::getOpenFileNames( TQDir::homeDirPath(), "*|" + i18n("mbox Files (*)"), info->parent() ); + TQStringList filenames = KFileDialog::getOpenFileNames( TQDir::homeDirPath(), "*|" + i18n("mbox Files (*)"), info->tqparent() ); info->setOverall(0); for ( TQStringList::Iterator filename = filenames.begin(); filename != filenames.end(); ++filename, ++currentFile) { @@ -91,14 +91,14 @@ void FilterMBox::import(FilterInfo *info) while ( ! mbox.atEnd() && (l = mbox.readLine(input.data(),MAX_LINE)) && ((seperate = input.data()).left(5) != "From ")) { tmp.file()->writeBlock( input, l ); - if ((seperate = input.data()).left(10) == "X-Status: ") { + if ((seperate = input.data()).left(10) == "X-tqStatus: ") { x_status_flag = seperate; - x_status_flag.remove("X-Status: "); + x_status_flag.remove("X-tqStatus: "); x_status_flag = x_status_flag.stripWhiteSpace(); // qDebug("x_status_flag: %s", x_status_flag.latin1() ); } - // workaround to fix hang if a corrupted mbox tqcontains some + // workaround to fix hang if a corrupted mbox contains some // binary data, for more see bug #106796 if (mbox.at() == filepos) mbox.at(mbox.size()); -- cgit v1.2.3