Skip to content

Commit 1eb426e

Browse files
author
mhugent
committedJan 27, 2009
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

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed
 

‎src/core/qgshttptransaction.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,8 @@ QgsHttpTransaction::QgsHttpTransaction( QString uri,
4343
: httpresponsecontenttype( 0 ),
4444
httpurl( uri ),
4545
httphost( proxyHost ),
46-
httpport( proxyPort ),
47-
httpuser( proxyUser ),
48-
httppass( proxyPass ),
49-
mProxyType( proxyType ),
5046
mError( 0 )
5147
{
52-
53-
QgsDebugMsg( "constructing." );
54-
QgsDebugMsg( " proxyHost = " + proxyHost + "." );
55-
QgsDebugMsg( " proxyPort = " + QString::number( proxyPort ) + "." );
56-
QgsDebugMsg( " proxyUser = " + proxyUser + "." );
57-
QgsDebugMsg( " proxyPass = " + proxyPass + "." );
58-
QgsDebugMsg( "exiting constructor." );
5948
}
6049

6150
QgsHttpTransaction::~QgsHttpTransaction()
@@ -79,6 +68,8 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red
7968
QgsDebugMsg( "Entered." );
8069
QgsDebugMsg( "Using '" + httpurl + "'." );
8170

71+
int httpport;
72+
8273
QUrl qurl( httpurl );
8374

8475
http = new QHttp( );

‎src/core/qgshttptransaction.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -163,21 +163,6 @@ class CORE_EXPORT QgsHttpTransaction : public QObject
163163
*/
164164
QString httphost;
165165

166-
/**
167-
* The port being used for this transaction
168-
*/
169-
int httpport;
170-
171-
/**
172-
* The username being used for this transaction
173-
*/
174-
QString httpuser;
175-
176-
/**
177-
* The password being used for this transaction
178-
*/
179-
QString httppass;
180-
181166
/**
182167
* If not empty, indicates that the QHttp is a redirect
183168
* to the contents of this variable
@@ -193,8 +178,6 @@ class CORE_EXPORT QgsHttpTransaction : public QObject
193178
*/
194179
int httpredirections;
195180

196-
QNetworkProxy::ProxyType mProxyType;
197-
198181
/**
199182
* Indicates the associated QTimer object - used to detect network timeouts
200183
*/

0 commit comments

Comments
 (0)
Please sign in to comment.