From kde-devel Thu Jan 25 20:05:27 2001 From: Michael Jarrett Date: Thu, 25 Jan 2001 20:05:27 +0000 To: kde-devel Subject: Re: Programming question X-MARC-Message: https://marc.info/?l=kde-devel&m=98045330126243 Charles Samuels wrote: > > On Thursday 25 January 2001 11:52 am, Phlip wrote: > > Proclaimed Michael Jarrett from the mountaintops: > >[snip] > > Make your classes inherit QObject virtually. I'm unsure if the Spirit of > > KDE would take lightly to you changing the system headers, but you could > > author a MyMainWindow class. You ought to at least also ask this question > > on a Qt list too. > > Yes, KMainWindow already inherits QObject, but, just as a side warning, you > can't inherit from QObject twice, a limitation of QT. Ah, that in essence was my question. Oh well, no shortcuts for me. Maybe I can do some hacks with virtual functions............. *eyes light up* Thanx all! -- The address in the headers is not the poster's real email address. Do not send private mail to the poster using your mailer's "reply" feature. CC's of mail to mailing lists are OK. Problem reports to "postmaster@umail.corel.com". The poster's email address is "michaej@corel.com". >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<