[PyKDE] still a problem with protected static member functions

2006-03-04 Thread Gerard Vermeulen
Hi Phil, SIP-4.3 (snapshot-20060304) has still a problem with protected static member functions in the sense that it does not generate all include statements in the C++ source files (and maybe a deeper problem -- see end of mail). The problem occurs with the following hierarchy: #ifndef S_H

Re: [PyKDE] problem with static member function resolution

2006-03-04 Thread Phil Thompson
On Saturday 04 March 2006 11:22 am, Gerard Vermeulen wrote: > Phil, the following header works with SIP-4.3.2, but not with the recent > SIP snapshots: > > class A > { > public: > A() {} > virtual ~A() {} > protected: > static int bar() { return 3; } > }; > > class B: public A > { > pub

[PyKDE] More problems with static member functions

2006-03-04 Thread Gerard Vermeulen
Phil, attached you'll find another tar.gz which demonstrates the difficulties that SIP snapshots have with protected static member functions. Plain ./configure.py produces source code which does not compile. If you give ./configure.py any option it will patch the output of SIP so that it compile

[PyKDE] problem with static member function resolution

2006-03-04 Thread Gerard Vermeulen
Phil, the following header works with SIP-4.3.2, but not with the recent SIP snapshots: class A { public: A() {} virtual ~A() {} protected: static int bar() { return 3; } }; class B: public A { public: B(): A() {} virtual ~B() {} private: static int bar(int oops) { return

Re: [PyKDE] transerfBack in QPopupMenu.exec?

2006-03-04 Thread Phil Thompson
On Tuesday 29 November 2005 2:03 pm, Giovanni Bajo wrote: > Hello, > > since we decided to add an automatic sip.transferback() call within the > exec_loop() method of QDialog, I was wondering if we should do the same for > QPopupMenu. In fact, calling exec() in a QPopupMenu makes its use modal, so

[PyKDE] Re: Auto-disconnection of signals broken?

2006-03-04 Thread Phil Thompson
On Tuesday 14 February 2006 4:34 pm, Giovanni Bajo wrote: > Phil, > > Using PyQt snapshot-20051212 and SIP snapshot-20051212: > > --- > from qt import * > > app = QApplication([]) > > o = QObject(None) > w = QWidget(None) > > QObject.conne