Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed members of httptransaction that are no longer needed
git-svn-id: http://svn.osgeo.org/qgis/trunk@10033 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 27, 2009
1 parent 730eb13 commit 59f2eb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
13 changes: 2 additions & 11 deletions src/core/qgshttptransaction.cpp
Expand Up @@ -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()
Expand All @@ -79,6 +68,8 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red
QgsDebugMsg( "Entered." );
QgsDebugMsg( "Using '" + httpurl + "'." );

int httpport;

QUrl qurl( httpurl );

http = new QHttp( );
Expand Down
17 changes: 0 additions & 17 deletions src/core/qgshttptransaction.h
Expand Up @@ -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
Expand All @@ -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
*/
Expand Down

0 comments on commit 59f2eb3

Please sign in to comment.