From 59f2eb387901f0de9a19e188e3fbc276d8e80cf8 Mon Sep 17 00:00:00 2001 From: mhugent Date: Tue, 27 Jan 2009 11:06:10 +0000 Subject: [PATCH] Removed members of httptransaction that are no longer needed git-svn-id: http://svn.osgeo.org/qgis/trunk@10033 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/core/qgshttptransaction.cpp | 13 ++----------- src/core/qgshttptransaction.h | 17 ----------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/src/core/qgshttptransaction.cpp b/src/core/qgshttptransaction.cpp index 30282c3ef04..4e4e4a91364 100644 --- a/src/core/qgshttptransaction.cpp +++ b/src/core/qgshttptransaction.cpp @@ -43,19 +43,8 @@ QgsHttpTransaction::QgsHttpTransaction( QString uri, : httpresponsecontenttype( 0 ), httpurl( uri ), httphost( proxyHost ), - httpport( proxyPort ), - httpuser( proxyUser ), - httppass( proxyPass ), - mProxyType( proxyType ), mError( 0 ) { - - QgsDebugMsg( "constructing." ); - QgsDebugMsg( " proxyHost = " + proxyHost + "." ); - QgsDebugMsg( " proxyPort = " + QString::number( proxyPort ) + "." ); - QgsDebugMsg( " proxyUser = " + proxyUser + "." ); - QgsDebugMsg( " proxyPass = " + proxyPass + "." ); - QgsDebugMsg( "exiting constructor." ); } QgsHttpTransaction::~QgsHttpTransaction() @@ -79,6 +68,8 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red QgsDebugMsg( "Entered." ); QgsDebugMsg( "Using '" + httpurl + "'." ); + int httpport; + QUrl qurl( httpurl ); http = new QHttp( ); diff --git a/src/core/qgshttptransaction.h b/src/core/qgshttptransaction.h index 01bef69f7ae..1e8b4daeb47 100644 --- a/src/core/qgshttptransaction.h +++ b/src/core/qgshttptransaction.h @@ -163,21 +163,6 @@ class CORE_EXPORT QgsHttpTransaction : public QObject */ QString httphost; - /** - * The port being used for this transaction - */ - int httpport; - - /** - * The username being used for this transaction - */ - QString httpuser; - - /** - * The password being used for this transaction - */ - QString httppass; - /** * If not empty, indicates that the QHttp is a redirect * to the contents of this variable @@ -193,8 +178,6 @@ class CORE_EXPORT QgsHttpTransaction : public QObject */ int httpredirections; - QNetworkProxy::ProxyType mProxyType; - /** * Indicates the associated QTimer object - used to detect network timeouts */