From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslaves/imap4/mimeio.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kioslaves/imap4/mimeio.h') 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 -#include +#include +#include /** *@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 -- cgit v1.2.1