aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/typeresolver.h
Commit message (Collapse)AuthorAgeFilesLines
* Replaced Nokia copyrights in headerTeemu Kaukoranta2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Replaced old Nokia copyrights with Digia copyrights. Removed "All rights reserved" strings without leading copyrights were removed (for example, 'Copyright SomeCompany, all rights reserved remain untouched). Did NOT touch contact details, will change them later. Excluded folders that have '3rdparty' in path. Used command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; | tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/ \1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I') >(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I') This excludes binary files and retains whitespace and #* characters in the beginning of the edited lines. Change-Id: I0d49f991c3dbd45d804843f185714e8681bc6c51 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Fix bug 1013 - "connect to QSqlTableModel.primeInsert() causes crash"Hugo Parente Lima2012-03-081-0/+18
|
* Removed useless stuff from TypeResolver.Hugo Parente Lima2012-03-081-6/+4
|
* Remove SbkTypeInfo and CppObjectCopier structs, they aren't needed after the ↵Hugo Parente Lima2012-03-081-11/+6
| | | | fix on qt_metacall.
* Remove objectDeleter function and use the well known ↵Hugo Parente Lima2012-03-081-7/+1
| | | | Shiboken::callCppDestructor.
* Created private pointer for Shiboken Meta Type.Renato Araujo Oliveira Filho2012-03-081-2/+0
| | | | | | | Renamed ObjectType to BaseType. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* SbkBaseWrapperType renamed to SbkObjectType.Hugo Parente Lima2012-03-081-1/+1
|
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2012-03-081-2/+2
| | | | outside C++ namespaces.
* Implemented support to conversion without memory allocation.renatofilho2012-03-081-7/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* 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>
* Create getType function on TypeResolver.Renato Filho2010-06-171-0/+8
| | | | | | | | 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-0/+6
| | | | | Reviewer: Renato Araújo <renato.araujo@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Do not get the pointer of SbkType<T> function, so the compiler doesn't needHugo Lima2010-02-261-3/+3
| | | | | | to implement this function (inlining it when needed). This safe amazings 8KiB from QtGui :-)
* Implemented type discovery feature.Hugo Lima2010-01-141-0/+113
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.