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_lnotes.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_lnotes.cxx')
-rw-r--r-- | kmailcvt/filter_lnotes.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmailcvt/filter_lnotes.cxx b/kmailcvt/filter_lnotes.cxx index 3ded11abf..69a48167a 100644 --- a/kmailcvt/filter_lnotes.cxx +++ b/kmailcvt/filter_lnotes.cxx @@ -21,7 +21,7 @@ #include <kfiledialog.h> #include <ktempfile.h> #include <kdebug.h> -#include <qfileinfo.h> +#include <tqfileinfo.h> #include "filter_lnotes.hxx" @@ -53,13 +53,13 @@ void FilterLNotes::import(FilterInfo *info) { currentFile = 1; totalFiles = 0; - QStringList filenames = KFileDialog::getOpenFileNames( QDir::homeDirPath(), "*|" + i18n("All Files (*)"), + TQStringList filenames = KFileDialog::getOpenFileNames( TQDir::homeDirPath(), "*|" + i18n("All Files (*)"), inf->parent() ); totalFiles = filenames.count(); inf->setOverall(0); // See filter_mbox.cxx for better reference. - for ( QStringList::Iterator filename = filenames.begin(); filename != filenames.end(); ++filename ) { + for ( TQStringList::Iterator filename = filenames.begin(); filename != filenames.end(); ++filename ) { ++currentFile; info->addLog( i18n("Importing emails from %1").arg(*filename) ); @@ -74,7 +74,7 @@ void FilterLNotes::import(FilterInfo *info) { * Import the files within a Folder. * @param file The name of the file to import. */ -void FilterLNotes::ImportLNotes(const QString& file) { +void FilterLNotes::ImportLNotes(const TQString& file) { // See Filter_pmail.cxx for better reference @@ -83,7 +83,7 @@ void FilterLNotes::ImportLNotes(const QString& file) { // The Message ends with a 0c character // open the message - QFile f(file); + TQFile f(file); if (! f.open( IO_ReadOnly ) ) { inf->alert( i18n("Unable to open %1, skipping").arg( file ) ); @@ -95,8 +95,8 @@ void FilterLNotes::ImportLNotes(const QString& file) { KTempFile *tempfile = 0; // Get folder name - QFileInfo filenameInfo( file ); - QString folder("LNotes-Import/" + filenameInfo.baseName(TRUE)); + TQFileInfo filenameInfo( file ); + TQString folder("LNotes-Import/" + filenameInfo.baseName(TRUE)); inf->setTo(folder); // State machine to read the data in. The fgetc usage is probably terribly slow ... |