[Kde-finance-apps] QObject subclass parameter QObject *

Thomas Baumgart thb at net-bembel.de
Sat Aug 13 20:08:05 UTC 2011


Hi Puneet Goyal,

on Saturday 13 August 2011 21:13:10 you wrote:

> Hi,
> while creating an object of a class which is inheriting from QObject class,
> we never pass the QObject paramater even though in its definition we do
> declare it in parameter list

Sure we (you) do:

AlkInvoice::AlkInvoice(QObject *parent) :
  QObject(parent),

parent is passed to the QObject ctor. Or do I not understand your question?


> Please tell me why?
> 
> and i dont know why but the mail to KDE finance list failed twice

Did you receive an error mail? I am interested in it then.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
God is real... unless declared an integer
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20110813/5bee3007/attachment.sig>


More information about the Kde-finance-apps mailing list