Fixed/implemented various QResources methods.

- data() is now exported and returns a Python read-only buffer object.
- (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data.
- Improved unit test.
This commit is contained in:
Hugo Parente Lima 2011-02-03 18:15:38 -02:00
commit 7b4968abab
5 changed files with 3568 additions and 26 deletions

View file

@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/">
<file alias="quote.txt">quoteEnUS.txt</file>
<file alias="sample.png">sample.png</file>
</qresource>
</RCC>