12 Commits

Author SHA1 Message Date
Nyall Dawson
cdf21b7c3e Return derived classes from clone() methods, avoids need to
dynamic_cast results
2015-11-12 20:29:06 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Martin Dobias
6db04b41f9 Fixed SIP wrapper for conversion to QgsRasterInterface subclasses 2014-10-22 17:39:14 +07:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Radim Blazek
d435bfc876 QgsRasterBlock::DataType moved to QGis::DataType 2012-12-17 14:04:10 +01:00
Tim Sutton
cd74d71a1d Transfer ownership of transparency to prevent crashing python apps. 2012-12-06 12:52:17 +02:00
Radim Blazek
a8934a28f7 invert raster colors better 2012-10-27 21:32:08 +02:00
Radim Blazek
7cb523a26f + QgsRasterBlock 2012-10-11 16:12:09 +02:00
Juergen E. Fischer
9fb31117cb sip updates 2012-10-06 11:22:52 +02:00
Juergen E. Fischer
c918952c74 more sip fixes 2012-09-26 18:46:52 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00