aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/pysideslot.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix build in C++11 modeMatthew Woehlke2013-06-221-2/+2
| | | | | | | | | | Add spaces between string literals and preprocessor symbols. These are required because C++11 defines string prefix and suffix operators, and confuses preprocessor tokens adjacent to string literals as unrecognized string literal modifies, resulting in compile errors. Change-Id: I70f4efca0acb6d2ee03327c0afbc56fe7d82c2a3 Reviewed-by: John Ehresman <jpe@wingware.com>
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT|copy[a-z]*[ ]*=/ !{ s/(^[ \t:#*]*)([a-z ]*) (Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I }}') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*|.*http:\/\/www\.qt-project\.org\/.*)/ \1Contact: http:\/\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Command now finds command details that point to qt-project.org and changes them to qt-project.org/legal Also no longer wrongly replaces code snippet "copyright = ..". Need to fix these case-by-case later. Change-Id: I4456c00202c4a2264a400bdc18c19cd097876861 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Initia QtCore port to python3.Renato Filho2012-03-081-5/+4
|
* Fix indentation.Renato Filho2012-03-081-2/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Does not use normalizeSignature in functions with return type.Renato Filho2012-03-081-3/+5
| | | | | | | Fix bug #726. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Raise error when slot argument is unknown.Lauro Neto2012-03-081-0/+3
| | | | | | | | | | | | | | | | | | | Instead of accepting it silently and generating potential segfault and undefined behavior, raise TypeError when the type of an argument is unknown to PySide type system. An example of such erratic behavior is in declarations like: @Slot def foo(self): Slots without arguments must be explicitly declared this way: @Slot() def foo(self): Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Moved pyside slot attr name do pysideslot_p.h.Hugo Parente Lima2012-03-081-0/+1
|
* Fixed dynamic meta object to avoid empty meta method.Hugo Parente Lima2012-03-081-0/+1
| | | | | | Empty meta methods cause a assert failure on QtDeclarative module. Also removed the scoped pointer to avoid heap allocation when it's not needed, as QByteArray is already implicity shared.
* Renamed qsignal, qslot, qproperty files to pyside*.renatofilho2010-11-031-0/+196
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>