Even Rouault
7e81226b51
Replace toUtf8().data() by toUtf8().constData()
...
All your uses of toUtf8().data() actually just need a const char*
So use constData() that is semantically more correct, and documented
to be faster.
From http://doc.qt.io/qt-5/qbytearray.html#data
"For read-only access, constData() is faster because it never
causes a deep copy to occur."
2018-10-07 07:23:42 +10:00
Denis Rouzaud
ff1988f11d
Python __repr__ test output
2018-06-19 13:55:53 -04:00
Denis Rouzaud
763dfd2998
use SIP to define Python __repr__ rather than injections
...
because it's a bit more clever!
2018-06-19 07:58:26 -04:00
Denis Rouzaud
ac4f508c13
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 07:02:17 -04:00
Nyall Dawson
4059c9b71d
Move some more common geometry methods to headers to allow compiler inlining
2018-06-19 13:16:02 +10:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
4b1b752633
Fix bad regex
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
6165e4c8d6
Add some SIP_THROW( QgsCsException ) annotations
...
Incomplete, but allows proper QgsCsException catching
for these methods
2018-05-23 07:55:30 +10:00
Denis Rouzaud
e8cf8c2f1c
[sipify] insert missing QMetaObject for gadget classes
2018-05-15 17:38:16 -04:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00