diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmailcvt/filter_plain.cxx | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmailcvt/filter_plain.cxx')
-rw-r--r-- | kmailcvt/filter_plain.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmailcvt/filter_plain.cxx b/kmailcvt/filter_plain.cxx index 7dc0bda50..0246c8c63 100644 --- a/kmailcvt/filter_plain.cxx +++ b/kmailcvt/filter_plain.cxx @@ -40,13 +40,13 @@ FilterPlain::~FilterPlain() void FilterPlain::import(FilterInfo *info) { // Select directory containing plain text emails - QString mailDir = KFileDialog::getExistingDirectory(QDir::homeDirPath(),info->parent()); + TQString mailDir = KFileDialog::getExistingDirectory(TQDir::homeDirPath(),info->parent()); if (mailDir.isEmpty()) { // No directory selected info->alert(i18n("No directory selected.")); return; } - QDir dir (mailDir); - QStringList files = dir.entryList("*.[eE][mM][lL]; *.[tT][xX][tT]; *.[mM][sS][gG]", QDir::Files, QDir::Name); + TQDir dir (mailDir); + TQStringList files = dir.entryList("*.[eE][mM][lL]; *.[tT][xX][tT]; *.[mM][sS][gG]", TQDir::Files, TQDir::Name); // Count total number of files to be processed info->addLog(i18n("Counting files...")); @@ -54,7 +54,7 @@ void FilterPlain::import(FilterInfo *info) int currentFile = 0; info->addLog(i18n("Importing new mail files...")); - for ( QStringList::Iterator mailFile = files.begin(); mailFile != files.end(); ++mailFile ) { + for ( TQStringList::Iterator mailFile = files.begin(); mailFile != files.end(); ++mailFile ) { info->setFrom(*mailFile); info->setTo(dir.dirName()); info->setCurrent(0); |