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 /kioslaves/imap4/mimeio.h | |
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 'kioslaves/imap4/mimeio.h')
-rw-r--r-- | kioslaves/imap4/mimeio.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kioslaves/imap4/mimeio.h b/kioslaves/imap4/mimeio.h index 0de2fbd4d..e14861a8b 100644 --- a/kioslaves/imap4/mimeio.h +++ b/kioslaves/imap4/mimeio.h @@ -18,8 +18,8 @@ #ifndef MIMEIO_H #define MIMEIO_H -#include <qcstring.h> -#include <qfile.h> +#include <tqcstring.h> +#include <tqfile.h> /** *@author Sven Carstens @@ -31,29 +31,29 @@ public: mimeIO (); virtual ~ mimeIO (); - virtual int outputLine (const QCString &, int len = -1); - virtual int outputMimeLine (const QCString &); - virtual int inputLine (QCString &); + virtual int outputLine (const TQCString &, int len = -1); + virtual int outputMimeLine (const TQCString &); + virtual int inputLine (TQCString &); virtual int outputChar (char); virtual int inputChar (char &); void setCRLF (const char *); protected: - QCString theCRLF; + TQCString theCRLF; int crlfLen; }; class mimeIOQFile:public mimeIO { public: - mimeIOQFile (const QString &); + mimeIOQFile (const TQString &); virtual ~ mimeIOQFile (); - virtual int outputLine (const QCString &, int len = -1); - virtual int inputLine (QCString &); + virtual int outputLine (const TQCString &, int len = -1); + virtual int inputLine (TQCString &); protected: - QFile myFile; + TQFile myFile; }; class mimeIOQString:public mimeIO @@ -61,19 +61,19 @@ class mimeIOQString:public mimeIO public: mimeIOQString (); virtual ~ mimeIOQString (); - virtual int outputLine (const QCString &, int len = -1); - virtual int inputLine (QCString &); - const QString& getString () const + virtual int outputLine (const TQCString &, int len = -1); + virtual int inputLine (TQCString &); + const TQString& getString () const { return theString; } - void setString (const QString & _str) + void setString (const TQString & _str) { theString = _str; } protected: - QString theString; + TQString theString; }; #endif |