[QGIS Commit] r10033 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Jan 27 06:06:10 EST 2009


Author: mhugent
Date: 2009-01-27 06:06:10 -0500 (Tue, 27 Jan 2009)
New Revision: 10033

Modified:
   trunk/qgis/src/core/qgshttptransaction.cpp
   trunk/qgis/src/core/qgshttptransaction.h
Log:
Removed members of httptransaction that are no longer needed

Modified: trunk/qgis/src/core/qgshttptransaction.cpp
===================================================================
--- trunk/qgis/src/core/qgshttptransaction.cpp	2009-01-27 11:05:17 UTC (rev 10032)
+++ trunk/qgis/src/core/qgshttptransaction.cpp	2009-01-27 11:06:10 UTC (rev 10033)
@@ -43,19 +43,8 @@
     : 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 @@
   QgsDebugMsg( "Entered." );
   QgsDebugMsg( "Using '" + httpurl + "'." );
 
+  int httpport;
+
   QUrl qurl( httpurl );
 
   http = new QHttp( );

Modified: trunk/qgis/src/core/qgshttptransaction.h
===================================================================
--- trunk/qgis/src/core/qgshttptransaction.h	2009-01-27 11:05:17 UTC (rev 10032)
+++ trunk/qgis/src/core/qgshttptransaction.h	2009-01-27 11:06:10 UTC (rev 10033)
@@ -164,21 +164,6 @@
     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 @@
      */
     int httpredirections;
 
-    QNetworkProxy::ProxyType mProxyType;
-
     /**
      * Indicates the associated QTimer object - used to detect network timeouts
      */



More information about the QGIS-commit mailing list