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
cc3e29bcc2
add __repr__ for more geometry classes and add test
2018-06-19 07:02:17 -04:00
Denis Rouzaud
ac4f508c13
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 07:02:17 -04:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +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