Skip to content
Permalink
Browse files
Removed members of httptransaction that are no longer needed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10033 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 27, 2009
1 parent 517ff98 commit 1eb426e21ca6caba72f5f8f53e63a6db4f9aa464
Showing with 2 additions and 28 deletions.
  1. +2 −11 src/core/qgshttptransaction.cpp
  2. +0 −17 src/core/qgshttptransaction.h
@@ -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( );
@@ -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
*/

0 comments on commit 1eb426e

Please sign in to comment.