[PyKDE] Problems with some C++ sintax

Torsten Marek shlomme at gmx.net
Thu Dec 15 21:50:46 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Douglas Soares de Andrade schrieb:
> Hi all, 
> 
> Im trying to port the Qt4 example "complexwizard" under the dialog folder.
> 
> Here is the code i dont understand:
> 
> class LicenseWizardPage : public WizardPage //(1), inheritance
> {
> public:
>     LicenseWizardPage(LicenseWizard *wizard) //(2)
>         : WizardPage(wizard),  //(3), base class initialization
>           wizard(wizard) {} // (4), member initialization
> 
> protected:
>     LicenseWizard *wizard;
> };
> 
> Can someone explain to me what is happening before the "public:" definition ? 
> It would be good if someone port this part to python, so i will get the 
> picture.
> 
Hi,

class LicenseWizardPage(WizardPage): # (1)
	def __init__(self, _wizard): # (2)
		WizardParge.__init__(self, wizard) # (3)
		self.wizard = wizard # (4)

best greetings

Torsten

- --
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDoeU2fMVFHqJEyFgRAgHwAJwPWhqKc3cCOVwMy0tG/BzXfcIM9gCfeWA1
c6tzNFmWcQ/eEUZcOOxu9Mc=
=/oaT
-----END PGP SIGNATURE-----




More information about the PyQt mailing list