summaryrefslogtreecommitdiffstats
path: root/khtml/ecma/xmlhttprequest.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/ecma/xmlhttprequest.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/ecma/xmlhttprequest.h')
-rw-r--r--khtml/ecma/xmlhttprequest.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/khtml/ecma/xmlhttprequest.h b/khtml/ecma/xmlhttprequest.h
index 49582a905..2c646708e 100644
--- a/khtml/ecma/xmlhttprequest.h
+++ b/khtml/ecma/xmlhttprequest.h
@@ -77,31 +77,31 @@ namespace KJS {
#ifdef APPLE_CHANGES
void slotData( KIO::Job* job, const char *data, int size );
#else
- void slotData( KIO::Job* job, const QByteArray &data );
+ void slotData( KIO::Job* job, const TQByteArray &data );
#endif
void slotFinished( KIO::Job* );
void slotRedirection( KIO::Job*, const KURL& );
- void processSyncLoadResults(const QByteArray &data, const KURL &finalURL, const QString &headers);
+ void processSyncLoadResults(const TQByteArray &data, const KURL &finalURL, const TQString &headers);
- void open(const QString& _method, const KURL& _url, bool _async);
- void send(const QString& _body);
+ void open(const TQString& _method, const KURL& _url, bool _async);
+ void send(const TQString& _body);
void abort();
- void setRequestHeader(const QString& name, const QString &value);
- void overrideMIMEType(const QString& override);
+ void setRequestHeader(const TQString& name, const TQString &value);
+ void overrideMIMEType(const TQString& override);
Value getAllResponseHeaders() const;
- Value getResponseHeader(const QString& name) const;
+ Value getResponseHeader(const TQString& name) const;
void changeState(XMLHttpRequestState newState);
- QGuardedPtr<DOM::DocumentImpl> doc;
+ TQGuardedPtr<DOM::DocumentImpl> doc;
KURL url;
- QString method;
+ TQString method;
bool async;
- QMap<QString,QString> requestHeaders;
- QString m_mimeTypeOverride;
- QString contentType;
+ TQMap<TQString,TQString> requestHeaders;
+ TQString m_mimeTypeOverride;
+ TQString contentType;
KIO::TransferJob * job;
@@ -110,10 +110,10 @@ namespace KJS {
JSEventListener *onLoadListener;
khtml::Decoder *decoder;
- QString encoding;
- QString responseHeaders;
+ TQString encoding;
+ TQString responseHeaders;
- QString response;
+ TQString response;
mutable bool createdDocument;
mutable bool typeIsXML;
mutable DOM::Document responseXML;
@@ -122,14 +122,14 @@ namespace KJS {
};
- class XMLHttpRequestQObject : public QObject {
+ class XMLHttpRequestQObject : public TQObject {
Q_OBJECT
public:
XMLHttpRequestQObject(XMLHttpRequest *_jsObject);
public slots:
- void slotData( KIO::Job* job, const QByteArray &data );
+ void slotData( KIO::Job* job, const TQByteArray &data );
void slotFinished( KIO::Job* job );
void slotRedirection( KIO::Job* job, const KURL& url);