Commit graph

6 commits

Author SHA1 Message Date
Renato Filho
cef6db9548 Fix indentation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:03 -03:00
Renato Filho
8ce3644a13 Does not use normalizeSignature in functions with return type.
Fix bug #726.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-03-21 11:57:38 -03:00
Lauro Neto
0298a34289 Raise error when slot argument is unknown.
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>
2011-02-11 19:32:41 -03:00
Hugo Parente Lima
35ab7bf679 Moved pyside slot attr name do pysideslot_p.h. 2010-12-03 19:35:58 -02:00
Hugo Parente Lima
e20a97a480 Fixed dynamic meta object to avoid empty meta method.
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.
2010-12-01 15:38:16 -02:00
renatofilho
4cd7a240d8 Renamed qsignal, qslot, qproperty files to pyside*.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Neto <lauro.neto@openbossa.org>
2010-11-03 10:29:31 -03:00
Renamed from libpyside/qslot.cpp (Browse further)