Skip to content

Commit ac4f662

Browse files
committedSep 20, 2016
Move deprecated QgsHttpTransaction to server
1 parent 3c4f46d commit ac4f662

File tree

6 files changed

+6
-101
lines changed

6 files changed

+6
-101
lines changed
 

‎doc/api_break.dox

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ Use QgsComposerAttributeTableV2 instead.</li>
190190
<li>QgsCRSCache was removed. QgsCoordinateReferenceSystem now internally uses a cache for CRS creation,
191191
so there is no longer a need for the separate cache class. Code which previously called QgsCRSCache::updateCRSCache()
192192
should now call QgsCoordinateReferenceSystem::invalidateCache() and QgsCoordinateTransformCache::instance()->invalidateCrs( authid ).</li>
193+
<li>QgsHttpTransaction. This class was outdated and code should be ported to native Qt or Python implementations.</li>
193194
<li>QgsLabel and QgsLabelAttributes. Replaced by labeling based on PAL library, see QgsLabelingEngineV2.</li>
194195
<li>QgsLegendModel was removed.
195196
<li>QgsMapCanvasMap. It is an internal class used by map canvas.</li>

‎python/core/core.sip

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@
6565
%Include qgsmaptopixelgeometrysimplifier.sip
6666
%Include qgstransaction.sip
6767
%Include qgstransactiongroup.sip
68-
// TODO - update for Qt5
69-
// %Include qgshttptransaction.sip
7068
%Include qgsdartmeasurement.sip
7169
%Include qgsexpressionfieldbuffer.sip
7270
%Include qgsfontutils.sip

‎python/core/qgshttptransaction.sip

Lines changed: 0 additions & 97 deletions
This file was deleted.

‎src/server/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ SET ( qgis_mapserv_SRCS
2222
qgscapabilitiescache.cpp
2323
qgsconfigcache.cpp
2424
qgshttprequesthandler.cpp
25+
# qgshttptransaction.cpp
2526
qgsgetrequesthandler.cpp
2627
qgspostrequesthandler.cpp
2728
qgssoaprequesthandler.cpp
@@ -65,6 +66,7 @@ ENDIF("${Qt5Network_VERSION}" VERSION_LESS "5.0.0")
6566
SET (qgis_mapserv_MOC_HDRS
6667
qgscapabilitiescache.h
6768
qgsconfigcache.h
69+
# qgshttptransaction.h
6870
qgsmaprenderer.h
6971
qgsmslayercache.h
7072
qgsserverlogger.h
File renamed without changes.

‎src/core/qgshttptransaction.h renamed to ‎src/server/qgshttptransaction.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ class QTimer;
3030
// needs porting to Qt5 - until then don't include in api docs
3131
///@cond PRIVATE
3232

33-
/** \ingroup core
33+
/** \ingroup server
3434
* HTTP request/response manager that is redirect-aware.
3535
* This class extends the Qt QHttp concept by being able to recognise
3636
* and respond to redirection responses (e.g. HTTP code 302)
37+
* @note not available in Python bindings
3738
*/
3839

39-
class CORE_EXPORT QgsHttpTransaction : public QObject
40+
class QgsHttpTransaction : public QObject
4041
{
4142

4243
Q_OBJECT

0 commit comments

Comments
 (0)
Please sign in to comment.