diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-03-23 17:43:46 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:15:19 -0300 |
commit | 2f541a1684db694e9662f482c0fedd91509a948e (patch) | |
tree | a3a29741fc2c73f22b9b9d4aea0cef1977ffd476 /tests/libsample | |
parent | 4a262bcb91b7b620f434397fe2f7cb1454950397 (diff) |
Added test for bug 489.
http://bugs.pyside.org/show_bug.cgi?id=489
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample')
-rw-r--r-- | tests/libsample/overload.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libsample/overload.h b/tests/libsample/overload.h index 0660f3799..46a578859 100644 --- a/tests/libsample/overload.h +++ b/tests/libsample/overload.h @@ -23,6 +23,7 @@ #ifndef OVERLOAD_H #define OVERLOAD_H +#include "str.h" #include "size.h" #include "point.h" @@ -60,6 +61,11 @@ public: void singleOverload(Point* x) {} Point* singleOverload() {return new Point();} + + // Similar to QImage constructor + FunctionEnum strBufferOverloads(const Str& arg0, const char* arg1 = 0, bool arg2 = true) { return Function0; } + FunctionEnum strBufferOverloads(unsigned char* arg0, int arg1) { return Function1; } + FunctionEnum strBufferOverloads() { return Function2; } }; class LIBSAMPLE_API Overload2 : public Overload |