Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Matt Newell
On Tuesday, December 11, 2012 02:56:51 AM Alexander Bruy wrote: > Hi all, > > I'm new to SIP and have some troubles with wrapping class in SIP. > I need to declare some parameters as in and out. > > Here is class header > > class AuthData > { > public: > virtual ~AuthData(); > bool get

Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Alexander Bruy
Hi Phil, thanks! With QStrings it works fine. On Tue, 11 Dec 2012 11:07:58 + Phil Thompson wrote: > > Try passing QStrings as arguments rather than Python strings. > > Phil -- Alexander Bruy ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Phil Thompson
On Tue, 11 Dec 2012 12:56:51 +0200, Alexander Bruy wrote: > Hi all, > > I'm new to SIP and have some troubles with wrapping class in SIP. > I need to declare some parameters as in and out. > > Here is class header > > class AuthData > { > public: > virtual ~AuthData(); > bool get( QSt

[PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Alexander Bruy
Hi all, I'm new to SIP and have some troubles with wrapping class in SIP. I need to declare some parameters as in and out. Here is class header class AuthData { public: virtual ~AuthData(); bool get( QString dbName, QString &username, QString &password, QString message = QString::null