summaryrefslogtreecommitdiffstats
path: root/kioslave/smtp/request.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/smtp/request.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/smtp/request.h')
-rw-r--r--kioslave/smtp/request.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kioslave/smtp/request.h b/kioslave/smtp/request.h
index 15bbd76b9..e1b3acda8 100644
--- a/kioslave/smtp/request.h
+++ b/kioslave/smtp/request.h
@@ -32,8 +32,8 @@
#ifndef __KIOSMTP_REQUEST_H__
#define __KIOSMTP_REQUEST_H__
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
class KURL;
@@ -47,30 +47,30 @@ namespace KioSMTP {
static Request fromURL( const KURL & url );
- QString profileName() const { return mProfileName; }
- void setProfileName( const QString & profileName ) { mProfileName = profileName; }
+ TQString profileName() const { return mProfileName; }
+ void setProfileName( const TQString & profileName ) { mProfileName = profileName; }
bool hasProfile() const { return !profileName().isNull(); }
- QString subject() const { return mSubject; }
- void setSubject( const QString & subject ) { mSubject = subject; }
+ TQString subject() const { return mSubject; }
+ void setSubject( const TQString & subject ) { mSubject = subject; }
- QString fromAddress() const { return mFromAddress; }
- void setFromAddress( const QString & fromAddress ) { mFromAddress = fromAddress; }
+ TQString fromAddress() const { return mFromAddress; }
+ void setFromAddress( const TQString & fromAddress ) { mFromAddress = fromAddress; }
bool hasFromAddress() const { return !mFromAddress.isEmpty(); }
- QStringList recipients() const { return to() + cc() + bcc() ; }
+ TQStringList recipients() const { return to() + cc() + bcc() ; }
bool hasRecipients() const { return !to().empty() || !cc().empty() || !bcc().empty() ; }
- QStringList to() const { return mTo; }
- QStringList cc() const { return mCc; }
- QStringList bcc() const { return mBcc; }
- void addTo( const QString & to ) { mTo.push_back( to ); }
- void addCc( const QString & cc ) { mCc.push_back( cc ); }
- void addBcc( const QString & bcc ) { mBcc.push_back( bcc ); }
+ TQStringList to() const { return mTo; }
+ TQStringList cc() const { return mCc; }
+ TQStringList bcc() const { return mBcc; }
+ void addTo( const TQString & to ) { mTo.push_back( to ); }
+ void addCc( const TQString & cc ) { mCc.push_back( cc ); }
+ void addBcc( const TQString & bcc ) { mBcc.push_back( bcc ); }
- QString heloHostname() const { return mHeloHostname; }
- QCString heloHostnameCString() const;
- void setHeloHostname( const QString & hostname ) { mHeloHostname = hostname; }
+ TQString heloHostname() const { return mHeloHostname; }
+ TQCString heloHostnameCString() const;
+ void setHeloHostname( const TQString & hostname ) { mHeloHostname = hostname; }
bool emitHeaders() const { return mEmitHeaders; }
void setEmitHeaders( bool emitHeaders ) { mEmitHeaders = emitHeaders; }
@@ -85,11 +85,11 @@ namespace KioSMTP {
serialization of the header fields "To", "Cc", "Subject" and
"From", as determined by the respective settings. If @ref
#emitHeaders() is false, returns a null string. */
- QCString headerFields( const QString & fromRealName=QString::null ) const;
+ TQCString headerFields( const TQString & fromRealName=TQString::null ) const;
private:
- QStringList mTo, mCc, mBcc;
- QString mProfileName, mSubject, mFromAddress, mHeloHostname;
+ TQStringList mTo, mCc, mBcc;
+ TQString mProfileName, mSubject, mFromAddress, mHeloHostname;
bool mEmitHeaders;
bool m8Bit;
unsigned int mSize;