summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mimeio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mimeio.h')
-rw-r--r--kioslaves/imap4/mimeio.h30
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