aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/typeresolver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-20/+8
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#256 - "PySide does not support signals with containers."Hugo Parente Lima2010-06-291-1/+0
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Create getType function on TypeResolver.Renato Filho2010-06-171-0/+22
| | | | | | | | This function allow the programmer discovery if a type is Object or Value type. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Automatically register all primitive types on TypeResover.Hugo Parente Lima2010-06-101-12/+8
| | | | | Reviewer: Renato Araújo <renato.araujo@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Add missing include for MVSC.Thomas Berg2010-04-121-0/+1
|
* Do not get the pointer of SbkType<T> function, so the compiler doesn't needHugo Lima2010-02-261-4/+4
| | | | | | to implement this function (inlining it when needed). This safe amazings 8KiB from QtGui :-)
* Added SbkDbg stream class, used to print debug messages.Hugo Lima2010-01-141-1/+7
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Implemented type discovery feature.Hugo Lima2010-01-141-0/+125
The problem: - There are two class, A and B, B inherits from A. - You are inside a virtual method reimplemented in python with just one parameter of type A*. - But the object referenced by a variable of type A* is an instance of B and it was created by C++, not Python! - Shiboken needs to create a PyObject of type B, not A! This does not makes sense for C++, but does for Python, because python variables does not store type information, just values. To achieve this we use RTTI to get the real type name of a variable, then we create the PyObject using the TypeResolver infrastructure initially developed to help with signal slot problems. In other words, the TypeResolver class has been moved from libpyside to libshiboken.